diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:12:42 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:12:42 +0000 |
| commit | 40b8885cc2b9dac4bab78f3c49f0afeb30e95d9a (patch) | |
| tree | 3dadfe46468444d7b72cd60e94c8eea519326805 /migrate_database.php | |
| parent | 16cbbff5cb5791fbcdf297b110fa70bf186ef43e (diff) | |
| download | install-40b8885cc2b9dac4bab78f3c49f0afeb30e95d9a.tar.gz install-40b8885cc2b9dac4bab78f3c49f0afeb30e95d9a.tar.bz2 install-40b8885cc2b9dac4bab78f3c49f0afeb30e95d9a.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'migrate_database.php')
| -rw-r--r-- | migrate_database.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/migrate_database.php b/migrate_database.php index bcc1e87..ceceb99 100644 --- a/migrate_database.php +++ b/migrate_database.php @@ -75,7 +75,7 @@ if (isset($_REQUEST['fSubmitDatabase']) || isset($_REQUEST['fUpdateTables'])) { $tables_src = $gDb_src->MetaTables(); if (isset($_REQUEST['fUpdateTables'])) { - $gBitSmarty->assign_by_ref( 'skip_tables', $tables_src ); + $gBitSmarty->assignByRef( 'skip_tables', $tables_src ); return; } @@ -283,8 +283,8 @@ if (isset($_REQUEST['fSubmitDatabase']) || isset($_REQUEST['fUpdateTables'])) { $results[]= "$table: migrated $q records".(($c > 0) ? "and converted $c blobs" : ""); } //vd($gDb_dst->mFailed);die; - $gBitSmarty->assign_by_ref( 'results', $results ); - $gBitSmarty->assign_by_ref( 'errors', $gDb_dst->mFailed ); + $gBitSmarty->assignByRef( 'results', $results ); + $gBitSmarty->assignByRef( 'errors', $gDb_dst->mFailed ); $app = "_done"; $gBitSmarty->assign( 'next_step', $step + 1 ); |
