diff options
author | Simon Rettberg | 2016-07-05 13:32:14 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-07-05 13:32:14 +0200 |
commit | 728ac0181691f3f1558bcda1330a243581e08298 (patch) | |
tree | 97b9ec30e00f9961a9c393a5c152b32c652047ba /inc/event.inc.php | |
parent | [minilinux] Fix link not showing in main-warning hook (diff) | |
download | slx-admin-728ac0181691f3f1558bcda1330a243581e08298.tar.gz slx-admin-728ac0181691f3f1558bcda1330a243581e08298.tar.xz slx-admin-728ac0181691f3f1558bcda1330a243581e08298.zip |
[event.inc] Activate sysconfig module before propagating ip address changed event
Diffstat (limited to 'inc/event.inc.php')
-rw-r--r-- | inc/event.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/event.inc.php b/inc/event.inc.php index 01a148b0..dee435a8 100644 --- a/inc/event.inc.php +++ b/inc/event.inc.php @@ -88,7 +88,9 @@ class Event error_log('Server ip changed'); global $tidIpxe; $tidIpxe = Trigger::ipxe(); - ConfigModule::serverIpChanged(); + if (Module::isAvailable('sysconfig')) { // TODO: Modularize events + ConfigModule::serverIpChanged(); + } } /** |