Update of /cvsroot/openfirst/base/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24827/includes
Modified Files:
xmlModule.php
Log Message:
oops... Didn't install....
Index: xmlModule.php
===================================================================
RCS file: /cvsroot/openfirst/base/includes/xmlModule.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** xmlModule.php 23 Nov 2005 18:41:38 -0000 1.10
--- xmlModule.php 24 Nov 2005 01:34:23 -0000 1.11
***************
*** 191,201 ****
/*public*/ function install() {
global $ogDB;
! if (!is_array($this->mTables)) return true;
! foreach($this->mTables as $table) {
! if (!$ogDB->updateTableFromObject($table) || ($ogDB->errorNumber() != 0)) {
! # echo $table->getName();
! $err = $ogDB->errorString();
! echo $err;
! return $err;
}
}
--- 191,202 ----
/*public*/ function install() {
global $ogDB;
! if (is_array($this->mTables)) {
! foreach($this->mTables as $table) {
! if (!$ogDB->updateTableFromObject($table) || ($ogDB->errorNumber() != 0)) {
! # echo $table->getName();
! $err = $ogDB->errorString();
! echo $err;
! return $err;
! }
}
}
|