aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-07-15 18:56:20 +0000
committerrvelices <rv-github@modusoptimus.com>2011-07-15 18:56:20 +0000
commit5869dada4c169f167205a2d23f274e976d5e323e (patch)
treef15d99e9378c6d8cd754fa5ea0fa1cf0d822896b /include/functions_user.inc.php
parent62ce6788e52dc97ea7379e41ce353c8c7281d520 (diff)
- removed admin never used function cat_admin_access
- removed obsolete known_script template block - added a warning on usage of is_adviser function git-svn-id: http://piwigo.org/svn/trunk@11753 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 4b44a8233..3e7c818d3 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -1312,6 +1312,7 @@ function check_status($access_type, $user_status = '')
*/
function is_adviser()
{
+ trigger_error('call to obsolete function is_adviser', E_USER_WARNING);
return false;
}