diff options
-rw-r--r-- | include/functions_plugins.inc.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/functions_plugins.inc.php b/include/functions_plugins.inc.php index b980390a8..5790eccf7 100644 --- a/include/functions_plugins.inc.php +++ b/include/functions_plugins.inc.php @@ -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); + } + } } /** |