diff options
| -rw-r--r-- | admin/upgrades/1.0.1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/upgrades/1.0.1.php b/admin/upgrades/1.0.1.php index d0e1db9..a17626e 100644 --- a/admin/upgrades/1.0.1.php +++ b/admin/upgrades/1.0.1.php @@ -57,7 +57,7 @@ $map_errors = $oTopic->mDb->query( $list_query, $bind_vars, $max_records ); // fix everything // transaction will save us if something goes bad -$oTopic->mDb->StartTrans(); +$oTopic->StartTrans(); // expunge all the bad records we just got a list of $expunge_query = "DELETE FROM `".BIT_DB_PREFIX."boards_topics` @@ -87,7 +87,7 @@ while( $topic = $map_errors->fetchRow() ) { } } -$oTopic->mDb->CompleteTrans(); +$oTopic->CompleteTrans(); ' ), |
