1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 05:37:32 +02:00

Import plugin cleanup

This commit is contained in:
Cameron
2013-03-07 04:30:25 -08:00
parent 02920b8a32
commit 82cbd71ee6
2 changed files with 3 additions and 3 deletions

View File

@@ -176,7 +176,7 @@ class import_main_ui extends e_admin_ui
function importPage() function importPage()
{ {
print_a($_POST); // print_a($_POST);
$this->deleteExisting = varset($_POST['import_delete_existing_data'],0); $this->deleteExisting = varset($_POST['import_delete_existing_data'],0);

View File

@@ -33,7 +33,7 @@ class base_import_class
{ {
if ($this->ourDB == NULL) if ($this->ourDB == NULL)
{ {
$this->ourDB = new db; $this->ourDB = e107::getDb('ourDB');
$result = $this->ourDB->db_Connect($server, $user, $password, $database); $result = $this->ourDB->db_Connect($server, $user, $password, $database);
$this->DBPrefix = $prefix; $this->DBPrefix = $prefix;
if ($result) if ($result)