From d0194da31275022f8b8d8b221cc28bbbdf1bdddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Fri, 2 May 2014 15:12:28 +0200 Subject: [PATCH] fixed $this in static methods --- application/core/Files/BackupUtil.php | 2 +- application/core/Files/FileUtil.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/Files/BackupUtil.php b/application/core/Files/BackupUtil.php index 22d45058..b53f2234 100644 --- a/application/core/Files/BackupUtil.php +++ b/application/core/Files/BackupUtil.php @@ -101,7 +101,7 @@ abstract class BackupUtil { } if (is_dir($filePath)) { $zipArchive->addEmptyDir($localPath); - $this->zipDirectory($zipArchive, $filePath, $prefixLength, $excludes); + self::zipDirectory($zipArchive, $filePath, $prefixLength, $excludes); continue; } } diff --git a/application/core/Files/FileUtil.php b/application/core/Files/FileUtil.php index 36c3d79d..2b98458d 100644 --- a/application/core/Files/FileUtil.php +++ b/application/core/Files/FileUtil.php @@ -143,7 +143,7 @@ abstract class FileUtil { } if (!is_writable($fileName)) { $message = "Write-Access missing for File '{$fileName}'!"; - $this->maniaControl->log($message); + logMessage($message); return false; } }