]> granicus.if.org Git - php/commitdiff
snapshot < devel (betterStates())
authorTomas V.V.Cox <cox@php.net>
Fri, 29 Aug 2003 14:02:20 +0000 (14:02 +0000)
committerTomas V.V.Cox <cox@php.net>
Fri, 29 Aug 2003 14:02:20 +0000 (14:02 +0000)
pear/PEAR/Common.php

index 2b416e020db6d5da26bd3776dbfee77bc12f7089..46d78b36721362bc7d7be0d58fc9f6b00a7267a0 100644 (file)
@@ -1370,7 +1370,7 @@ class PEAR_Common extends PEAR
      */
     function betterStates($state, $include = false)
     {
-        static $states = array('devel', 'snapshot', 'alpha', 'beta', 'stable');
+        static $states = array('snapshot', 'devel', 'alpha', 'beta', 'stable');
         $i = array_search($state, $states);
         if ($i === false) {
             return false;
@@ -1751,7 +1751,7 @@ class PEAR_Common extends PEAR
                 $newret[] = $p;
             }
         }
-        
+
         $func = $uninstall ? '_sortPkgDepsRev' : '_sortPkgDeps';
         usort($newret, array('PEAR_Common', $func));
         $packages = $newret;