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