mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Do not clear menus by default
This commit is contained in:
@@ -768,7 +768,7 @@ class Plugins {
|
||||
* @param string $templateName
|
||||
* @param array $categories
|
||||
*/
|
||||
public static function installMenus($templateName, $categories, $clearOld = true)
|
||||
public static function installMenus($templateName, $categories, $clearOld = false)
|
||||
{
|
||||
if ($clearOld) {
|
||||
Menu::where('template', $templateName)->delete();
|
||||
|
Reference in New Issue
Block a user