cvs: pear-core /PEAR Validate.php

From: Date: Wed, 03 Nov 2004 23:00:29 +0000
Subject: cvs: pear-core /PEAR Validate.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-1224@lists.php.net to get a copy of this message
cellog Wed Nov 3 18:00:29 2004 EDT Modified files: /pear-core/PEAR Validate.php Log: put the states in the right order, just in case this is needed http://cvs.php.net/diff.php/pear-core/PEAR/Validate.php?r1=1.23&r2=1.24&ty=u Index: pear-core/PEAR/Validate.php diff -u pear-core/PEAR/Validate.php:1.23 pear-core/PEAR/Validate.php:1.24 --- pear-core/PEAR/Validate.php:1.23 Wed Nov 3 17:58:12 2004 +++ pear-core/PEAR/Validate.php Wed Nov 3 18:00:29 2004 @@ -16,7 +16,7 @@ // | Authors: Gregory Beaver <cellog@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Validate.php,v 1.23 2004/11/03 22:58:12 cellog Exp $ +// $Id: Validate.php,v 1.24 2004/11/03 23:00:29 cellog Exp $ define('PEAR_VALIDATE_INSTALLING', 1); define('PEAR_VALIDATE_UNINSTALLING', 2); // this is not bit-mapped like the others define('PEAR_VALIDATE_NORMAL', 3); @@ -88,7 +88,7 @@ */ function validState($state) { - return in_array($state, array('alpha', 'beta', 'stable', 'snapshot', 'devel')); + return in_array($state, array('snapshot', 'devel', 'alpha', 'beta', 'stable')); } /** @@ -99,7 +99,7 @@ */ function getValidStates() { - return array('alpha', 'beta', 'stable', 'snapshot', 'devel'); + return array('snapshot', 'devel', 'alpha', 'beta', 'stable'); } /**

« previous php.pear.core (#1224) next »