mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-28 14:16:50 +01: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