Changeset 29316 for trunk/include


Ignore:
Timestamp:
Aug 29, 2014, 9:26:53 AM (10 years ago)
Author:
mistic100
Message:

restore PluginMaintain::autoUpdate throwing a warning instead of a fatal error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_plugins.inc.php

    r28969 r29316  
    7171   */
    7272  function update($old_version, $new_version, &$errors=array()) {}
     73 
     74  /**
     75   * @removed 2.7
     76   */
     77  function autoUpdate()
     78  {
     79    if (is_admin() && !defined('IN_WS'))
     80    {
     81      trigger_error('Function PluginMaintain::autoUpdate deprecated', E_USER_WARNING);
     82    }
     83  }
    7384}
    7485
Note: See TracChangeset for help on using the changeset viewer.