From 731f8888a45d4b48e94bff05187e0e2ca40d4ef5 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 14 Dec 2010 13:47:24 +0000 Subject: feature 2060: Remove adviser mode. First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/cat_list.php') diff --git a/admin/cat_list.php b/admin/cat_list.php index dd79287bd..98dfecc03 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -103,7 +103,7 @@ $navigation.= ''; // | virtual categories management | // +-----------------------------------------------------------------------+ // request to delete a virtual category / not for an adviser -if (isset($_GET['delete']) and is_numeric($_GET['delete']) and !is_adviser()) +if (isset($_GET['delete']) and is_numeric($_GET['delete'])) { delete_categories(array($_GET['delete'])); array_push($page['infos'], l10n('Virtual album deleted')); -- cgit v1.2.3