summaryrefslogtreecommitdiff
path: root/BitInstaller.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-10-25 06:24:20 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-10-25 06:24:20 +0000
commitd03c8350f67c718d1d7aed5f7f8521b9e977b21d (patch)
tree41db9bf624059da2d0dea61590fba687858b54f1 /BitInstaller.php
parentd7f523c2d6f6c6b38abe87bb475494b7db3b43df (diff)
downloadinstall-d03c8350f67c718d1d7aed5f7f8521b9e977b21d.tar.gz
install-d03c8350f67c718d1d7aed5f7f8521b9e977b21d.tar.bz2
install-d03c8350f67c718d1d7aed5f7f8521b9e977b21d.zip
don't choke when we can't drop a table - sometimes it doesn't matter if we can't drop it.
Diffstat (limited to 'BitInstaller.php')
-rw-r--r--BitInstaller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/BitInstaller.php b/BitInstaller.php
index b138a97..c626807 100644
--- a/BitInstaller.php
+++ b/BitInstaller.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.34 2008/10/24 22:08:13 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.35 2008/10/25 06:24:20 squareing Exp $
* @package install
*/
@@ -444,7 +444,7 @@ class BitInstaller extends BitSystem {
foreach( $drop as $tableName ) {
$completeTableName = $tablePrefix.$tableName;
$sql = $dict->DropTableSQL( $completeTableName );
- if( $sql && ($dict->ExecuteSQLArray( $sql, FALSE ) > 0 ) ) {
+ if( $sql && $dict->ExecuteSQLArray( $sql ) > 0 ) {
} else {
$errors[] = 'Failed to drop table '.$completeTableName;
$failedcommands[] = implode( " ", $sql );