[Openfirst-cvscommit] SF.net SVN: openfirst: [175] trunk/src/includes
Brought to you by:
xtimg
From: <ast...@us...> - 2006-06-21 22:43:16
|
Revision: 175 Author: astronouth7303 Date: 2006-06-21 15:43:09 -0700 (Wed, 21 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=175&view=rev Log Message: ----------- Changed devel version string from "CVS" to "Devel" Modified Paths: -------------- trunk/src/includes/BaseModule.php trunk/src/includes/functions.php Modified: trunk/src/includes/BaseModule.php =================================================================== --- trunk/src/includes/BaseModule.php 2006-06-21 22:16:55 UTC (rev 174) +++ trunk/src/includes/BaseModule.php 2006-06-21 22:43:09 UTC (rev 175) @@ -32,7 +32,7 @@ $this->mName = 'openFIRST'; $this->mID = 'openfirst.base'; $this->mDir = 'config'; - $this->mVersion = 'CVS'; + $this->mVersion = 'DEVEL'; $this->mDate = time(); // Definitive date please? $this->mAuthor = 'The openFIRST Team'; $this->mMaintainer = 'The openFIRST Team'; @@ -52,4 +52,4 @@ return new BaseModule($Dir); } } -?> \ No newline at end of file +?> Modified: trunk/src/includes/functions.php =================================================================== --- trunk/src/includes/functions.php 2006-06-21 22:16:55 UTC (rev 174) +++ trunk/src/includes/functions.php 2006-06-21 22:43:09 UTC (rev 175) @@ -192,9 +192,9 @@ /** Compares 2 module versions * - * The versions strings are either PHP-formatted versions, or "CVS" (case + * The versions strings are either PHP-formatted versions, or "Devel" (case * sensitive) to mean development (use dates instead). (See version_compare() - * <http://us3.php.net/manual/en/function.version-compare.php> for the details + * <http://www.php.net/manual/en/function.version-compare.php> for the details * as to how to format versions.) * * It is always assumed that dev is newer if compared to a version. @@ -202,10 +202,11 @@ * @param string $left The left-hand version * @param string $right The right-hand version * @return mixed -1 if the left is older, 1 if the right is older, 0 if they - * are equal, and false if dates should be used (ie, they're both CVS). + * are equal, and false if dates should be used (ie, they're both + * development versions). */ function ofCompareVersions($left, $right) { - if ($left == 'CVS' && $right == 'CVS') { + if ($left == 'Devel' && $right == 'Devel') { return false; } version_compare($left, $right); @@ -248,4 +249,4 @@ } } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |