Commit b8b1b540 authored by Marius Burkard's avatar Marius Burkard

- fixed php warning from installer

parent f2124f23
......@@ -14,7 +14,7 @@ class ispconfig_addon_installer_base {
$this->addon_ident = preg_replace('/_addon_installer$/', '', get_called_class());
}
public function onRaisedInstallerEvent($event_name, $data) {
public function onRaisedInstallerEvent($event_name, $data = false) {
}
}
......@@ -2864,7 +2864,7 @@ class installer_base {
}
}
public function raiseEvent($event_name) {
public function raiseEvent($event_name, $data = false) {
global $conf;
if(is_null($this->addon_classes)) {
......@@ -2879,7 +2879,7 @@ class installer_base {
reset($this->addon_classes);
foreach($this->addon_classes as $cl) {
if(method_exists($cl, $call_method)) {
call_user_func(array($cl, $call_method), $event_name);
call_user_func(array($cl, $call_method), $event_name, $data);
}
}
}
......
......@@ -194,7 +194,7 @@ class ispconfig_addon_installer_base {
public function onRaisedInstallerEvent($event_name, $data) {
public function onRaisedInstallerEvent($event_name, $data = false) {
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment