mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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
This commit is contained in:
@@ -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(*)
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user