From 4c35f2910c97c7f88afbd9dd27ec53a363addb1c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 26 Feb 2019 18:09:18 -0500 Subject: [PATCH] fix ZM namespace --- web/api/app/Controller/HostController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/api/app/Controller/HostController.php b/web/api/app/Controller/HostController.php index e06ca2293..05b2ed3fa 100644 --- a/web/api/app/Controller/HostController.php +++ b/web/api/app/Controller/HostController.php @@ -117,7 +117,7 @@ class HostController extends AppController { if ( $mid ) { // Get disk usage for $mid - Logger::Debug("Executing du -s0 $zm_dir_events/$mid | awk '{print $1}'"); + ZM\Logger::Debug("Executing du -s0 $zm_dir_events/$mid | awk '{print $1}'"); $usage = shell_exec("du -s0 $zm_dir_events/$mid | awk '{print $1}'"); } else { $monitors = $this->Monitor->find('all', array(