Modified Files:
configCheck.php
Log Message:
BUGID 4186 - checkSchemaVersion() moved last_db_version to const.inc.php
Index: configCheck.php
===================================================================
RCS file: /cvsroot/testlink/testlink/lib/functions/configCheck.php,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** configCheck.php 24 Jun 2010 17:25:53 -0000 1.55
--- configCheck.php 26 Jan 2011 09:02:01 -0000 1.56
***************
*** 16,19 ****
--- 16,20 ----
* @internal Revisions:
*
+ * 20110126 - Julian - BUGID 4186 - checkSchemaVersion() moved last_db_version to const.inc.php
* 20100617 - franciscom - domxml is not needed anymore
* 20090713 - franciscom - tested is_writable() on windows with PHP 5.
***************
*** 422,426 ****
function checkSchemaVersion(&$db)
{
! $last_version = 'DB 1.3'; // havlatm: updated for 1.9
$db_version_table= DB_TABLE_PREFIX . 'db_version';
--- 423,427 ----
function checkSchemaVersion(&$db)
{
! $last_version = TL_LAST_DB_VERSION; // BUGID 4186: moved last db version to const.inc.php
$db_version_table= DB_TABLE_PREFIX . 'db_version';
***************
*** 446,449 ****
--- 447,451 ----
case 'DB 1.1':
case 'DB 1.2':
+ case 'DB 1.3':
$msg = "You need to upgrade your Testlink Database to {$last_version} - <br>" .
'<a href="SCHEMA_CHANGES" style="color: white"> click here to see the Schema changes </a><br>' .