mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Import plugin cleanup
This commit is contained in:
parent
02920b8a32
commit
82cbd71ee6
@ -176,7 +176,7 @@ class import_main_ui extends e_admin_ui
|
||||
function importPage()
|
||||
{
|
||||
|
||||
print_a($_POST);
|
||||
// print_a($_POST);
|
||||
|
||||
|
||||
$this->deleteExisting = varset($_POST['import_delete_existing_data'],0);
|
||||
|
@ -30,10 +30,10 @@ class base_import_class
|
||||
* Connect to the external DB if not already connected
|
||||
*/
|
||||
function db_Connect($server, $user, $password, $database, $prefix)
|
||||
{
|
||||
{
|
||||
if ($this->ourDB == NULL)
|
||||
{
|
||||
$this->ourDB = new db;
|
||||
$this->ourDB = e107::getDb('ourDB');
|
||||
$result = $this->ourDB->db_Connect($server, $user, $password, $database);
|
||||
$this->DBPrefix = $prefix;
|
||||
if ($result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user