} else {
if ($option == 'install') {
- $this->addNotice('The '.$a['name'].' plugin/add-on has been reactivated using the existing database tables.');
+// was always displaying since adding 'install' to the controllers call $this->addNotice('The '.$a['name'].' plugin/add-on has been reactivated using the existing database tables.');
}
$db_setup_status = true;
}
$this->config = $config;
// Check the database - allow installation of tables for a new add-on
- if (!$this->checkDatabase()) {
+ if (!$this->checkDatabase('install')) {
die('Database check failure');
}
$this->config = $config;
// Check the database - allow installation of tables for a new add-on
- if (!$this->checkDatabase()) {
+ if (!$this->checkDatabase('install')) {
die('Database check failure');
}