mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2454 remove useless variables
This commit is contained in:
@@ -251,14 +251,6 @@ SELECT
|
||||
$storage_category_id = $row['storage_category_id'];
|
||||
}
|
||||
|
||||
$level_convert = [
|
||||
"0" => "4",
|
||||
"1" => "3",
|
||||
"2" => "2",
|
||||
"4" => "1",
|
||||
"8" => "0",
|
||||
];
|
||||
|
||||
foreach ($images as $row)
|
||||
{
|
||||
$element_ids[] = $row['id'];
|
||||
@@ -406,7 +398,6 @@ SELECT
|
||||
'U_DELETE' => $admin_url_start.'&delete=1&pwg_token='.get_pwg_token(),
|
||||
'U_SYNC' => $admin_url_start.'&sync_metadata=1',
|
||||
'PATH'=>$row['path'],
|
||||
'LEVEL_CONVERT' => $level_convert[!empty($row['level'])?$row['level']:'0'],
|
||||
'level_options_selected' => array($selected_level)
|
||||
|
||||
|
||||
|
||||
@@ -74,13 +74,6 @@ str_meta_warning = "{'Warning ! Unsaved changes will be lost'|translate|escape:j
|
||||
str_meta_yes = "{'I want to continue'|translate|escape:javascript}";
|
||||
const str_title_ab = "{'Associate to album'|@translate}";
|
||||
|
||||
const strs_privacy = {
|
||||
"0" : "{$level_options[8]}",
|
||||
"1" : "{$level_options[4]}",
|
||||
"2" : "{$level_options[2]}",
|
||||
"3" : "{$level_options[1]}",
|
||||
"4" : "{$level_options[0]}",
|
||||
};
|
||||
let b_current_picture_id;
|
||||
{* Check Skeleton extension for more details about extensibility *}
|
||||
pluginValues = [];
|
||||
|
||||
Reference in New Issue
Block a user