diff options
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r-- | include/functions_user.inc.php | 6 |
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 +?> |