diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-10-23 19:57:07 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-10-23 19:57:07 +0000 |
| commit | f6aec1792a91929353bdf13b8280689643142287 (patch) | |
| tree | 7fed8c5a605b924cc638f267045ceac189203aaf /migrate_database.php | |
| parent | 606d249ac66931b14d1d13effb6fca3727b721f5 (diff) | |
| download | install-f6aec1792a91929353bdf13b8280689643142287.tar.gz install-f6aec1792a91929353bdf13b8280689643142287.tar.bz2 install-f6aec1792a91929353bdf13b8280689643142287.zip | |
move blob methods into class and add some package upgrading methods
Diffstat (limited to 'migrate_database.php')
| -rw-r--r-- | migrate_database.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/migrate_database.php b/migrate_database.php index 82cf303..1ef7382 100644 --- a/migrate_database.php +++ b/migrate_database.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/migrate_database.php,v 1.6 2006/09/21 07:59:39 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/migrate_database.php,v 1.7 2008/10/23 19:57:07 squareing Exp $ * @package install * @subpackage upgrade * @@ -9,7 +9,7 @@ * * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: migrate_database.php,v 1.6 2006/09/21 07:59:39 squareing Exp $ + * $Id: migrate_database.php,v 1.7 2008/10/23 19:57:07 squareing Exp $ */ /** @@ -260,7 +260,7 @@ if (isset($_REQUEST['fSubmitDatabase']) || isset($_REQUEST['fUpdateTables'])) { //echo "$table\n"; //print_r($encoded_tables); //var_dump(array_search($table, $encoded_tables));die; - $blobs = identifyBlobs($result); + $blobs = BitInstaller::identifyBlobs($result); //print_r($blobs); while ($res = $result->FetchRow()) { @@ -268,7 +268,7 @@ if (isset($_REQUEST['fSubmitDatabase']) || isset($_REQUEST['fUpdateTables'])) { // convert blobs if($convert_blobs && !empty($blobs)) { $c++; - convertBlobs($gDb_dst, $res, $blobs); + BitInstaller::convertBlobs($gDb_dst, $res, $blobs); } $q++; // insert data into destination |
