Removed Budget Tables from Core -> moved to Extension

Fixed Problem during Extension installation
This commit is contained in:
Andreas Österreicher
2018-03-15 06:53:50 +01:00
parent 3126791c20
commit 68f934a5d0
3 changed files with 24 additions and 124 deletions
+3 -5
View File
@@ -29,18 +29,16 @@ class DB_Model extends FHC_Model
/**
* Constructor
*/
public function __construct($dbTable = null, $pk = null, $hasSequence = true)
public function __construct($dbtype = 'default')
{
// Call parent constructor
parent::__construct();
// Set properties
$this->pk = $pk;
$this->dbTable = $dbTable;
$this->hasSequence = $hasSequence;
$this->hasSequence = true;
// Loads DB conns and confs
$this->load->database();
$this->load->database($dbtype);
// Loads the UDF library
$this->load->library('UDFLib');