Skip to content

Commit

Permalink
Dev: old removed admin themes shouldn't be in isStandardAdminTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ptelu committed Jul 20, 2023
1 parent 8cc211b commit d6977ec
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions application/models/AdminTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,19 +392,6 @@ private function defineConstants()
*/
private function isStandardAdminTheme($sAdminThemeName)
{
return in_array(
$sAdminThemeName,
array(
'Apple_Blossom',
'Bay_of_Many',
'Black_Pearl',
'Dark_Sky',
'Free_Magenta',
'Noto_All_Languages',
'Purple_Tentacle',
'Sea_Green',
'Sunset_Orange',
)
);
return $sAdminThemeName === 'Sea_Green';
}
}

0 comments on commit d6977ec

Please sign in to comment.