aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 08df604e3..cd03a662e 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1782,27 +1782,6 @@ SELECT id
}
}
-/**
- * Is the category accessible to the (Admin) user ?
- *
- * Note : if the user is not authorized to see this category, category jump
- * will be replaced by admin cat_modify page
- *
- * @param int category id to verify
- * @return bool
- */
-function cat_admin_access($category_id)
-{
- global $user;
-
- // $filter['visible_categories'] and $filter['visible_images']
- // are not used because it's not necessary (filter <> restriction)
- if (in_array($category_id, explode(',', $user['forbidden_categories'])))
- {
- return false;
- }
- return true;
-}
/**
* Retrieve data from external URL