From 12d8faa3eda5e798f97b71e941c035187daad96e Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 19 Nov 2024 07:05:27 +0100 Subject: [PATCH] Do not clear menus by default --- system/src/Plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Plugins.php b/system/src/Plugins.php index 4bb1cc15..5932ebb9 100644 --- a/system/src/Plugins.php +++ b/system/src/Plugins.php @@ -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();