From 90afc99533450e73162e984497f9e606dcde73b4 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Mon, 26 Aug 2019 22:01:40 +0200
Subject: [PATCH] - missed changing app->system to this.

---
 server/lib/classes/system.inc.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php
index 4c76e9aaff..1698d73fe1 100644
--- a/server/lib/classes/system.inc.php
+++ b/server/lib/classes/system.inc.php
@@ -2154,8 +2154,8 @@ class system{
 		}
 		
 		// Change ownership of the chroot directory to root
-		$app->system->chown($home_dir, 'root');
-		$app->system->chgrp($home_dir, 'root');
+		$this->chown($home_dir, 'root');
+		$this->chgrp($home_dir, 'root');
 
 		$app_args = '';
 		foreach($app_sections as $app_section) {
-- 
GitLab