mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Remove dead code
This commit is contained in:
@@ -431,8 +431,6 @@ class set_export extends set_abstract
|
||||
'subdefs' => array()
|
||||
);
|
||||
|
||||
$rename_done = false;
|
||||
|
||||
$BF = false;
|
||||
|
||||
if ($includeBusinessFields && $user->ACL()->has_right_on_base($download_element->get_base_id(), 'canmodifrecord')) {
|
||||
@@ -457,7 +455,6 @@ class set_export extends set_abstract
|
||||
$title = strip_tags($download_element->get_title(null, null, true));
|
||||
|
||||
$files[$id]['export_name'] = $unicode->remove_nonazAZ09($title, true, true, true);
|
||||
$rename_done = true;
|
||||
} else {
|
||||
$files[$id]["export_name"] = $infos['filename'];
|
||||
}
|
||||
@@ -804,12 +801,6 @@ class set_export extends set_abstract
|
||||
}
|
||||
}
|
||||
|
||||
$export_types = array(
|
||||
'download' => 0,
|
||||
'mail-export' => 2,
|
||||
'ftp' => 4
|
||||
);
|
||||
|
||||
$list_base = array_unique(array_keys($tmplog));
|
||||
|
||||
if (!$anonymous) {
|
||||
|
@@ -31,8 +31,6 @@ class set_exportftp extends set_export
|
||||
*/
|
||||
public function export_ftp($usr_to, $host, $login, $password, $ssl, $retry, $passif, $destfolder, $makedirectory, $logfile)
|
||||
{
|
||||
$conn = $this->app['phraseanet.appbox']->get_connection();
|
||||
|
||||
$email_dest = '';
|
||||
if ($usr_to) {
|
||||
$user_t = User_Adapter::getInstance($usr_to, $this->app);
|
||||
|
Reference in New Issue
Block a user