Jeremy D commited on 2011-11-08 13:09:10
Showing 1 changed files, with 3 additions and 4 deletions.
... | ... |
@@ -334,9 +334,11 @@ class tbg_converter |
334 | 334 |
|
335 | 335 |
/** |
336 | 336 |
* Set the prefix that will be used prior to every reference of a table |
337 |
+ * @param string $prefix = The database prefix. |
|
337 | 338 |
*/ |
338 |
- public function setTablePrefix() |
|
339 |
+ public function setTablePrefix($prefix) |
|
339 | 340 |
{ |
341 |
+ $this->tbg_db_table_prefix = $prefix; |
|
340 | 342 |
$this->tbg_db_prefix = $this->tbg_db_name . '.' . $this->tbg_db_table_prefix; |
341 | 343 |
|
342 | 344 |
return true; |
... | ... |
@@ -373,9 +375,6 @@ class tbg_converter |
373 | 375 |
exit('TBG Connection failed: ' . $e->getMessage() . "\n"); |
374 | 376 |
} |
375 | 377 |
|
376 |
- // Set the prefixes. |
|
377 |
- $this->setTablePrefix(); |
|
378 |
- |
|
379 | 378 |
return true; |
380 | 379 |
} |
381 | 380 |
|
382 | 381 |