diff options
| author | spider@app1 <spiderr@bitweaver.org> | 2016-06-22 15:13:12 -0400 |
|---|---|---|
| committer | spider@app1 <spiderr@bitweaver.org> | 2016-06-22 15:13:12 -0400 |
| commit | 7b38e8f3922096c2e5273792381a0f102e5f93fc (patch) | |
| tree | 9c85b55375a06faff8d0a065cda45911567e862e | |
| parent | b561a98f3fa0ef536d5f450cfbfc92a45396d448 (diff) | |
| download | boards-7b38e8f3922096c2e5273792381a0f102e5f93fc.tar.gz boards-7b38e8f3922096c2e5273792381a0f102e5f93fc.tar.bz2 boards-7b38e8f3922096c2e5273792381a0f102e5f93fc.zip | |
change-all-StartTrans-calls-to-BitBase-method
| -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(); ' ), |
