app !== type
This commit is contained in:
parent
81536a81e3
commit
e55cc23132
|
@ -26,7 +26,6 @@ if(is_null($type)) {
|
||||||
bailOut($l->t('Category type not provided.'));
|
bailOut($l->t('Category type not provided.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
OC_JSON::checkAppEnabled($type);
|
|
||||||
$tmpl = new OCP\Template("core", "edit_categories_dialog");
|
$tmpl = new OCP\Template("core", "edit_categories_dialog");
|
||||||
|
|
||||||
$vcategories = new OC_VCategories($type);
|
$vcategories = new OC_VCategories($type);
|
||||||
|
|
Loading…
Reference in New Issue