Dotclear

Changeset 257


Ignore:
Timestamp:
11/03/08 08:24:55 (15 years ago)
Author:
bruno
Message:

version_compare is not so intelligent ...

Location:
plugins/gallery
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/gallery/_define.php

    r255 r257  
    1515     /* Description*/         "Image Gallery for Dotclear2", 
    1616     /* Author */             "Bruno Hondelatte", 
    17      /* Version */            '0.3beta2', 
     17     /* Version */            '0.3beta3', 
    1818     /* Permissions */        'usage,contentadmin' 
    1919); 
  • plugins/gallery/_install.php

    r256 r257  
    2424          $core->blog->settings->put($id,$old_value,$type,$label,$value_change,true); 
    2525} 
    26 if (version_compare($installed_version,$this_version,'>=')) { 
     26if (version_compare($installed_version,$this_version,'!=')) { 
    2727     $core->blog->settings->setNamespace('gallery'); 
    2828     putGlobalSetting('gallery_galleries_url_prefix','galleries','string','Gallery lists URL prefix'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map