Skip to content
Snippets Groups Projects
Commit 07bf1285 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5

parents dce3bb51 ab6e698f
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ class plugins { ...@@ -134,7 +134,7 @@ class plugins {
function registerAction($action_name, $plugin_name, $function_name) { function registerAction($action_name, $plugin_name, $function_name) {
global $app; global $app;
$this->subscribed_actions[$action_name][] = array('plugin' => $plugin_name, 'function' => $function_name); $this->subscribed_actions[$action_name][] = array('plugin' => $plugin_name, 'function' => $function_name);
if($this->debug) $app->log("Registered function '$function_name' from plugin '$plugin_name' for action '$event_name'.", LOGLEVEL_DEBUG); if($this->debug) $app->log("Registered function '$function_name' from plugin '$plugin_name' for action '$action_name'.", LOGLEVEL_DEBUG);
} }
......
...@@ -172,6 +172,9 @@ if ($app->db->connect_error == NULL && $app->dbmaster->connect_error == NULL) { ...@@ -172,6 +172,9 @@ if ($app->db->connect_error == NULL && $app->dbmaster->connect_error == NULL) {
$app->modules->loadModules('all'); $app->modules->loadModules('all');
//** Load the plugins that are in the plugins-enabled folder //** Load the plugins that are in the plugins-enabled folder
$app->plugins->loadPlugins('all'); $app->plugins->loadPlugins('all');
$app->plugins->raiseAction('server_plugins_loaded', '');
if ($tmp_num_records > 0) { if ($tmp_num_records > 0) {
$app->log("Found $tmp_num_records changes, starting update process.", LOGLEVEL_DEBUG); $app->log("Found $tmp_num_records changes, starting update process.", LOGLEVEL_DEBUG);
//** Go through the sys_datalog table and call the processing functions //** Go through the sys_datalog table and call the processing functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment