diff options
author | Jannik Schönartz | 2018-02-06 13:45:54 +0100 |
---|---|---|
committer | Jannik Schönartz | 2018-02-06 13:45:54 +0100 |
commit | 3d801dcde21c8166e3281a180ef21ff05b175fd6 (patch) | |
tree | f8508e11bc6df5a27f0417ad8098c4ed013a691c /modules-available/dnbd3 | |
parent | [usb-lock-off] Reworked config chooser. Switched from the dropdown config sel... (diff) | |
parent | [statistics_reporting] Translation for 'settings' (diff) | |
download | slx-admin-3d801dcde21c8166e3281a180ef21ff05b175fd6.tar.gz slx-admin-3d801dcde21c8166e3281a180ef21ff05b175fd6.tar.xz slx-admin-3d801dcde21c8166e3281a180ef21ff05b175fd6.zip |
Merge branch 'origin/master' into usb-lock-off
Diffstat (limited to 'modules-available/dnbd3')
-rw-r--r-- | modules-available/dnbd3/hooks/runmode/config.json | 4 | ||||
-rw-r--r-- | modules-available/dnbd3/hooks/statistics/machine-replace.inc.php | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/modules-available/dnbd3/hooks/runmode/config.json b/modules-available/dnbd3/hooks/runmode/config.json index 095cb42f..5db53f0b 100644 --- a/modules-available/dnbd3/hooks/runmode/config.json +++ b/modules-available/dnbd3/hooks/runmode/config.json @@ -2,5 +2,7 @@ "isClient": false, "configHook": "Dnbd3Util::runmodeConfigHook", "noSysconfig": true, - "systemdDefaultTarget": "dnbd3-proxy" + "systemdDefaultTarget": "dnbd3-proxy", + "allowGenericEditor": false, + "deleteUrlSnippet": "dummyparam=" }
\ No newline at end of file diff --git a/modules-available/dnbd3/hooks/statistics/machine-replace.inc.php b/modules-available/dnbd3/hooks/statistics/machine-replace.inc.php new file mode 100644 index 00000000..5e4c4e75 --- /dev/null +++ b/modules-available/dnbd3/hooks/statistics/machine-replace.inc.php @@ -0,0 +1,6 @@ +<?php + +foreach ($list as $entry) { + unset($entry['datelimit']); + Database::exec('UPDATE IGNORE dnbd3_server SET machineuuid = :new WHERE machineuuid = :old', $entry); +} |