diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-10-25 06:24:20 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-10-25 06:24:20 +0000 |
| commit | d03c8350f67c718d1d7aed5f7f8521b9e977b21d (patch) | |
| tree | 41db9bf624059da2d0dea61590fba687858b54f1 /BitInstaller.php | |
| parent | d7f523c2d6f6c6b38abe87bb475494b7db3b43df (diff) | |
| download | install-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.php | 4 |
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 ); |
