diff --git a/nexus/Install/Update.php b/nexus/Install/Update.php index 36a2542c..f97eaf51 100644 --- a/nexus/Install/Update.php +++ b/nexus/Install/Update.php @@ -327,10 +327,10 @@ class Update extends Install private function removeMenu(array $menus, array $tables = ['sysoppanel', 'adminpanel', 'modpanel']) { + $this->doLog("[REMOVE MENU]: " . json_encode($menus)); if (empty($menus)) { return; } - $this->doLog("[REMOVE MENU]: " . json_encode($menus)); foreach ($tables as $table) { NexusDB::table($table)->whereIn('url', $menus)->delete(); }