mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +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) {
|
||||
|
Reference in New Issue
Block a user