fixes #2454 remove useless variables

This commit is contained in:
plegall
2025-11-21 18:04:13 +01:00
parent 175b469a7e
commit b1288115f5
2 changed files with 0 additions and 16 deletions

View File

@@ -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)

View File

@@ -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 = [];