FIX: delete mainMenu widget area when uninstalling template
This commit is contained in:
@@ -42,6 +42,7 @@ class Handler implements TemplateHandler
|
|||||||
*/
|
*/
|
||||||
public static function uninstall(Module $template)
|
public static function uninstall(Module $template)
|
||||||
{
|
{
|
||||||
|
WidgetArea::where('code', 'mainMenu')->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user