function get($args, $opts)
{
+
+ PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
+
+
//$this->fixSequencesPgsql();exit;
$this->opts = $opts;
$this->checkOpts($opts);
- if (!empty($opts['add-company'])) {
- DB_DataObject::factory('companies')->initCompanies($this, $opts);
- }
-
+
if (empty($opts['data-only'])) {
$this->importSQL();
}
}
$this->runUpdateModulesData();
+
+
+ if (!empty($opts['add-company'])) {
+ DB_DataObject::factory('companies')->initCompanies($this, $opts);
+ }
}
function output() {