Skip to content

Commit f63bda1

Browse files
author
vogelor
committed
fixed two missing globals ;-(
1 parent 51cf609 commit f63bda1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ public function monitorFail2ban() {
10701070
}
10711071

10721072
public function monitorSysLog() {
1073+
global $app;
10731074
global $conf;
10741075

10751076
/* the id of the server as int */

server/mods-available/monitor_core_module.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public function process($tablename, $action, $data) {
7676
*/
7777
// TODO: what monitoring is done should be a config-var
7878
private function _doMonitor() {
79+
global $app;
7980
/*
8081
* We need the tools in almost every method, so initialize them once...
8182
*/

0 commit comments

Comments
 (0)