mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Do not clear menus by default
This commit is contained in:
parent
1e6892971b
commit
12d8faa3ed
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user