From: Luke S. <lsc...@us...> - 2004-08-28 01:53:34
|
Update of /cvsroot/gaim/web/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11014/htdocs Modified Files: version.php Log Message: (21:50:29) nosnilmot: ah, anyway, this hack should keep the version check quiet for us CVS users : http://nosnilmot.com/patches/gaim-web-versioncheck.patch (21:53:40) Bleeter: nosnilmot: nice patch :) (21:54:21) nosnilmot: Bleeter: yeah, simple yet effective :) (21:55:27) LSchiere: nosnilmot: now will that mess up faceprint's database? (21:55:55) nosnilmot: no more than I've messed it up already with bogus queries ;-) Index: version.php =================================================================== RCS file: /cvsroot/gaim/web/htdocs/version.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -p -r1.4 -r1.5 --- version.php 27 Aug 2004 06:02:10 -0000 1.4 +++ version.php 28 Aug 2004 01:53:10 -0000 1.5 @@ -22,6 +22,8 @@ $my_ver_parts = explode(".", $my_ver); $upgrade = false; for($i=0; $i < count($cur_ver_parts); $i++) { + if(isset($my_ver_parts[$i]) && $my_ver_parts[$i] > $cur_ver_parts[$i]) + break; if(!isset($my_ver_parts[$i]) || $cur_ver_parts[$i] > $my_ver_parts[$i]) $upgrade = true; } |