summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp/hooks/main-warning.inc.php
diff options
context:
space:
mode:
authorroot2019-02-19 18:53:50 +0100
committerroot2019-02-19 18:53:50 +0100
commit0ad4c0f8196b61699754762aacbaab0223478ab9 (patch)
treede434c4aea8d07ecd01cd3badd48d057d62c2d1b /modules-available/serversetup-bwlp/hooks/main-warning.inc.php
parent[usb-lock-off] Edit rule cleanup and fix of the dropdown boxes. (diff)
parent[statistics] Fix RAM change warning to handle increase too (diff)
downloadslx-admin-usb-lock-off.tar.gz
slx-admin-usb-lock-off.tar.xz
slx-admin-usb-lock-off.zip
Merge branch 'master' into usb-lock-offusb-lock-off
Diffstat (limited to 'modules-available/serversetup-bwlp/hooks/main-warning.inc.php')
-rw-r--r--modules-available/serversetup-bwlp/hooks/main-warning.inc.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules-available/serversetup-bwlp/hooks/main-warning.inc.php b/modules-available/serversetup-bwlp/hooks/main-warning.inc.php
deleted file mode 100644
index a2eba6ff..00000000
--- a/modules-available/serversetup-bwlp/hooks/main-warning.inc.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-if (!preg_match('/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/', Property::getServerIp())) {
- Message::addError('serversetup.no-ip-addr-set', true);
- $needSetup = true;
-}