mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 12:19:57 +03: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:
parent
2a2d09788f
commit
c1dd676c5c
1 changed files with 4 additions and 2 deletions
|
@ -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(*)
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue