OpenMediaVault-Plugin-Developers/openmediavault-autoshutdown — pull request #5 by christianrauch (2014-09-03 21:06:45+00:00)
Title: Fixing syntax error preventing from logging into the WebGUI

The re-factoring of "autoshutdown.inc" in commit d1f29b3 introduced a syntax error which prevents from logging into the WebGUI.

"omv-engined -f -d" returns:
PHP Parse error: syntax error, unexpected '$moduleMgr' (T_VARIABLE), expecting function (T_FUNCTION) in /usr/share/openmediavault/engined/module/autoshutdown.inc on line 94

The attached patch fixes that problem.