Changeset 2566:9bf417837888 for inc/core/class.dc.store.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.store.php
r2388 r2566 263 263 { 264 264 return version_compare( 265 preg_replace('!-r(\d+)$!', '-p$1', $v1), 266 preg_replace('!-r(\d+)$!', '-p$1', $v2), 265 preg_replace('!-r(\d+)$!', '-p$1', $v1), 266 preg_replace('!-r(\d+)$!', '-p$1', $v2), 267 267 $op 268 268 ); 269 269 } 270 270 271 /** 271 /** 272 272 * Sort modules list. 273 273 * … … 278 278 private static function sort($a,$b) 279 279 { 280 $c = strtolower($a['id']); 281 $d = strtolower($b['id']); 282 if ($c == $d) { 283 return 0; 284 } 285 return ($c < $d) ? -1 : 1; 280 $c = strtolower($a['id']); 281 $d = strtolower($b['id']); 282 if ($c == $d) { 283 return 0; 284 } 285 return ($c < $d) ? -1 : 1; 286 286 } 287 287 }
Note: See TracChangeset
for help on using the changeset viewer.