commit
bc559495b2
|
|
@ -59,7 +59,7 @@ else {
|
||||||
foreach ($row['menu'] as $index => &$menu) {
|
foreach ($row['menu'] as $index => &$menu) {
|
||||||
//delete menu groups and permissions from the database
|
//delete menu groups and permissions from the database
|
||||||
$array['menu_item_groups'][$index]['menu_item_uuid'] = $menu['uuid'];
|
$array['menu_item_groups'][$index]['menu_item_uuid'] = $menu['uuid'];
|
||||||
$array['menu_items'][$index['menu_item_uuid'] = $menu['uuid'];
|
$array['menu_items'][$index]['menu_item_uuid'] = $menu['uuid'];
|
||||||
//delete the app from the file system
|
//delete the app from the file system
|
||||||
if (strlen($menu['path']) > 0) {
|
if (strlen($menu['path']) > 0) {
|
||||||
system('rm -rf '.dirname($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.$menu['path']));
|
system('rm -rf '.dirname($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.$menu['path']));
|
||||||
|
|
@ -98,4 +98,4 @@ else {
|
||||||
header("Location: apps.php");
|
header("Location: apps.php");
|
||||||
return;
|
return;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue