Skip to content

Commit

Permalink
Do not clear menus by default
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Nov 19, 2024
1 parent 1e68929 commit 12d8faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ public static function getError() {
* @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();
Expand Down

0 comments on commit 12d8faa

Please sign in to comment.