mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Import plugin cleanup
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user