mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 17:54:55 +02:00
Fix installMenus function
This commit is contained in:
@@ -774,7 +774,7 @@ class Plugins {
|
|||||||
Menu::where('template', $templateName)->delete();
|
Menu::where('template', $templateName)->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Menu::count()) {
|
if (Menu::where('template', $templateName)->count()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user