aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-10-04 09:06:22 +0000
committerplegall <plg@piwigo.org>2011-10-04 09:06:22 +0000
commitc1dd676c5c0a382d979d8e44642d904b966d6e8a (patch)
treec110b879d22e2fc31ad84826969048d2166bac19 /include
parent2a2d09788fab542c1dcd753da68243313fe4ac8b (diff)
postpone warning on is_adviser to Piwigo 2.4 to avoid breaking compatibility with plugins
git-svn-id: http://piwigo.org/svn/trunk@12339 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_user.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 6a7c590ab..be8962e09 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -1334,7 +1334,9 @@ function check_status($access_type, $user_status = '')
*/
function is_adviser()
{
- trigger_error('call to obsolete function is_adviser', E_USER_WARNING);
+ // TODO for Piwigo 2.4 : trigger a warning. We don't do it on Piwigo 2.3
+ // to avoid changes for plugin contributors
+ // trigger_error('call to obsolete function is_adviser', E_USER_WARNING);
return false;
}
@@ -1520,4 +1522,4 @@ SELECT COUNT(*)
}
}
-?> \ No newline at end of file
+?>