diff options
Diffstat (limited to 'modules-available/statistics/page.inc.php')
-rw-r--r-- | modules-available/statistics/page.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index 4f11e835..f07dca56 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -97,6 +97,10 @@ class Page_Statistics extends Page if (Module::isAvailable('rebootcontrol')) { RebootControl::prepareExec(); } + } elseif (substr($action, 0, 12) === 'exec-preset-') { + if (Module::isAvailable('rebootcontrol')) { + RebootControl::prepareExec(substr($action, 12)); + } } // Make sure we don't render any content for POST requests - should be handled above and then |