Changeset 7563


Ignore:
Timestamp:
11/01/10 23:21:00 (9 years ago)
Author:
grum
Message:

fix bug:1990 - Since release 0.5.3, unable to do search

Location:
extensions/AMetaData
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/amd_install.class.inc.php

    r7553 r7563  
    183183          $this->config['newInstall']='n'; 
    184184          $this->updateFrom_000502(); 
     185        case '00.05.03': 
     186          $this->updateFrom_000503(); 
    185187        default: 
    186188          /* 
     
    197199 
    198200      GPCCore::register($this->getPluginName(), AMD_VERSION, AMD_GPC_NEEDED); 
    199       GPCRequestBuilder::register($this->getPluginName(), dirname($this->getFileLocation()).'/amd_rb_callback.class.inc.php'); 
     201      GPCRequestBuilder::register('AMetaData', dirname($this->getFileLocation()).'/amd_rb_callback.class.inc.php'); 
    200202    } 
    201203 
     
    203205    public function deactivate() 
    204206    { 
    205       GPCRequestBuilder::unregister($this->getPluginName()); 
     207      GPCRequestBuilder::unregister('AMetaData'); 
    206208    } 
    207209 
     
    273275    } 
    274276 
     277    /** 
     278     * update the database from the release 0.5.3 
     279     */ 
     280    private function updateFrom_000503() 
     281    { 
     282      GPCRequestBuilder::unregister('Advanced MetaData'); 
     283    } 
     284 
    275285 
    276286    /** 
  • extensions/AMetaData/amd_version.inc.php

    r7559 r7563  
    1717  if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1818 
    19   define('AMD_VERSION',  '0.5.3'); 
    20   define('AMD_VERSION2', '00.05.03'); 
     19  define('AMD_VERSION',  '0.5.4'); 
     20  define('AMD_VERSION2', '00.05.04'); 
    2121  define('AMD_GPC_NEEDED', '3.3.2'); 
    2222?> 
  • extensions/AMetaData/main.inc.php

    r7519 r7563  
    22/* 
    33Plugin Name: Advanced MetaData 
    4 Version: 0.5.3 
     4Version: 0.5.4 
    55Description: An advanced metadata manager 
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=364 
     
    172172|         |            | * mantis bug:1978 
    173173|         |            |   . Some meta names are not translated in french 
     174|         |            | 
     175| 0.5.4   | 2010/11/01 | * mantis bug:1990 
     176|         |            |   . Since release 0.5.3, unable to do search 
     177|         |            | 
     178|         |            | 
     179|         |            | 
    174180|         |            | 
    175181|         |            | 
     
    234240{ 
    235241  //AMD public part loaded and active only if in public page and if GPC is up to date 
    236   if(CommonPlugin::checkGPCRelease(3,2,0)) 
     242  if(CommonPlugin::checkGPCRelease(3,3,2)) 
    237243  { 
    238244    include_once("amd_pip.class.inc.php"); 
Note: See TracChangeset for help on using the changeset viewer.