Feature #272 - Preparations for change in the installation script: Some minor corrections have been made.

skala
Ivan Tcholakov 15 years ago
parent 28c3de900e
commit e4cdc87393
  1. 4
      main/install/update-db-1.6.x-1.8.0.inc.php
  2. 2
      main/install/update-db-1.8.0-1.8.2.inc.php
  3. 2
      main/install/update-db-1.8.2-1.8.3.inc.php
  4. 2
      main/install/update-db-1.8.3-1.8.4.inc.php
  5. 2
      main/install/update-db-1.8.4-1.8.5.inc.php
  6. 2
      main/install/update-db-1.8.5-1.8.6.inc.php
  7. 2
      main/install/update-db-1.8.6-1.8.6.1.inc.php
  8. 2
      main/install/update-db-1.8.6.1-1.8.6.2.inc.php
  9. 2
      main/install/update-db-1.8.6.2-1.8.7.inc.php

@ -263,7 +263,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
}else{
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.6.x-1.8.0.inc.php');}
if(mysql_num_rows($res)>0)
{
$i=0;
@ -579,7 +579,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
}else{
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.6.x-1.8.0.inc.php');}
if(mysql_num_rows($res)>0)
{
$i=0;

@ -264,7 +264,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
}else{
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.0-1.8.2.inc.php');}
if(mysql_num_rows($res)>0)
{
$i=0;

@ -264,7 +264,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
}else{
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.2-1.8.3.inc.php');}
if(mysql_num_rows($res)>0)
{
$i=0;

@ -264,7 +264,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
}else{
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.3-1.8.4.inc.php');}
if(mysql_num_rows($res)>0)
{
$i=0;

@ -254,7 +254,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL ORDER BY code");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.4-1.8.5.inc.php');}
if(mysql_num_rows($res)>0)
{

@ -1165,7 +1165,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL ORDER BY code");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.5-1.8.6.inc.php');}
if(mysql_num_rows($res)>0)
{

@ -256,7 +256,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL ORDER BY code");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.6-1.8.6.1.inc.php');}
if(mysql_num_rows($res)>0)
{

@ -363,7 +363,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL ORDER BY code");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.6.1-1.8.6.2.inc.php');}
if(mysql_num_rows($res)>0)
{

@ -296,7 +296,7 @@ if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE'))
mysql_select_db($dbNameForm);
$res = mysql_query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL ORDER BY code");
if($res===false){die('Error while querying the courses list in update_db.inc.php');}
if($res===false){die('Error while querying the courses list in update_db-1.8.6.2-1.8.7.inc.php');}
if(mysql_num_rows($res)>0)
{

Loading…
Cancel
Save