mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2158 module not deleted on first try
This commit is contained in:
parent
5716891c6c
commit
73ca0893d6
1 changed files with 2 additions and 2 deletions
|
|
@ -659,9 +659,9 @@ class ModuleController extends Module
|
|||
$args->is_force = 'N';
|
||||
|
||||
$oMenuAdminController = getAdminController('menu');
|
||||
$output = $oMenuAdminController->deleteItem($args);
|
||||
$output = $oMenuAdminController->deleteItem($args, true);
|
||||
|
||||
if($output->isSuccess)
|
||||
if($output->toBool())
|
||||
{
|
||||
return new BaseObject(0, 'success_deleted');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue