// Merge -> revision 7979
This commit is contained in:
1 parent
894ee5e00b
commit
792ce71cd4
26 files changed
+262
-55
No files matched your search
@@ -312,6 +312,12 @@ class CategoryCore extends ObjectModel
|
||||
self::regenerateEntireNtree();
|
||||
|
||||
Module::hookExec('categoryDeletion', array('category' => $this));
|
||||
|
||||
/* Delete Categories in GroupReduction */
|
||||
foreach ($toDelete AS $category)
|
||||
if (GroupReduction::getGroupReductionByCategoryId((int)$category))
|
||||
GroupReduction::deleteCategory($category);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user