protected function updateHandler()
 {
     parent::updateHandler();
     if ($this->getVersion() == '0.0') {
         return;
     }
     // we need to update the meta keys for notices.
     if (is_admin() && version_compare($this->getVersion(), '4.10.4', '<=')) {
         $aOldMetaMap = array('plugin_translation_notice' => 'translate-plugin', 'php53_version_warning' => 'php53-version-warning', 'plugin_mailing_list_signup' => 'plugin-mailing-list-signup');
         $oWpAdminNotices = $this->loadAdminNoticesProcessor();
         $oWpUsers = $this->loadWpUsersProcessor();
         foreach ($aOldMetaMap as $sOldMeta => $sNewId) {
             if ($oWpUsers->getUserMeta($this->prefixOptionKey($sOldMeta)) == 'Y') {
                 $oWpAdminNotices->setAdminNoticeAsDismissed(array('id' => $sNewId));
             }
             $oWpUsers->deleteUserMeta($this->prefixOptionKey($sOldMeta));
         }
     }
 }
 /**
  */
 protected function updateHandler()
 {
     parent::updateHandler();
     if (version_compare($this->getVersion(), '4.1.0', '<')) {
         $this->setOpt('recreate_database_table', true);
     }
 }
 protected function updateHandler()
 {
     parent::updateHandler();
     if ($this->getVersion() == '0.0') {
         return;
     }
     if (version_compare($this->getVersion(), '3.0.0', '<')) {
         $aAllOptions = apply_filters($this->doPluginPrefix('aggregate_all_plugin_options'), array());
         $this->setOpt('enable_admin_access_restriction', $aAllOptions['enable_admin_access_restriction']);
         $this->setOpt('admin_access_key', $aAllOptions['admin_access_key']);
         $this->setOpt('admin_access_timeout', $aAllOptions['admin_access_timeout']);
     }
 }