Dotclear


Ignore:
Timestamp:
10/16/13 17:47:56 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
2.6
Message:

Add custom versions comparison, now can install module that required version x.y on a x.y-RC, x.y-dev, etc..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.store.php

    r2270 r2388  
    8282          foreach ($current as $p_id => $p_infos) { 
    8383               if (isset($raw_datas[$p_id])) { 
    84                     if (self::compare($raw_datas[$p_id]['version'],$p_infos['version'],'>')) { 
     84                    if (dcUtils::versionsCompare($raw_datas[$p_id]['version'],$p_infos['version'],'>')) { 
    8585                         $updates[$p_id] = $raw_datas[$p_id]; 
    8686                         $updates[$p_id]['root'] = $p_infos['root']; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map