Skip to content

Commit d6ab12b

Browse files
author
Marius Burkard
committed
- fixed PHP warning (undefined constant openvz_tools)
1 parent a23052c commit d6ab12b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/lib/classes/cron.d/100-monitor_openvz.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function onRunJob() {
6969
/*
7070
Fetch the data into a array
7171
*/
72-
$app->load(openvz_tools);
72+
$app->load('openvz_tools');
7373
$openVzTools = new openvz_tools();
7474
$data = $openVzTools->getOpenVzVeInfo();
7575

@@ -98,7 +98,7 @@ public function onRunJob() {
9898
/*
9999
Fetch the data into a array
100100
*/
101-
$app->load(openvz_tools);
101+
$app->load('openvz_tools');
102102
$openVzTools = new openvz_tools();
103103
$data = $openVzTools->getOpenVzVeBeanCounter();
104104

0 commit comments

Comments
 (0)