mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
restore PluginMaintain::autoUpdate throwing a warning instead of a fatal error
git-svn-id: http://piwigo.org/svn/trunk@29316 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4d65035b39
commit
2b1bba7ffa
1 changed files with 11 additions and 0 deletions
|
@ -70,6 +70,17 @@ class PluginMaintain
|
|||
* @param array &$errors - used to return error messages
|
||||
*/
|
||||
function update($old_version, $new_version, &$errors=array()) {}
|
||||
|
||||
/**
|
||||
* @removed 2.7
|
||||
*/
|
||||
function autoUpdate()
|
||||
{
|
||||
if (is_admin() && !defined('IN_WS'))
|
||||
{
|
||||
trigger_error('Function PluginMaintain::autoUpdate deprecated', E_USER_WARNING);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue