fixed $this in static methods

This commit is contained in:
Steffen Schröder 2014-05-02 15:12:28 +02:00
parent 5f09a4ad3d
commit d0194da312
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ abstract class BackupUtil {
} }
if (is_dir($filePath)) { if (is_dir($filePath)) {
$zipArchive->addEmptyDir($localPath); $zipArchive->addEmptyDir($localPath);
$this->zipDirectory($zipArchive, $filePath, $prefixLength, $excludes); self::zipDirectory($zipArchive, $filePath, $prefixLength, $excludes);
continue; continue;
} }
} }

View File

@ -143,7 +143,7 @@ abstract class FileUtil {
} }
if (!is_writable($fileName)) { if (!is_writable($fileName)) {
$message = "Write-Access missing for File '{$fileName}'!"; $message = "Write-Access missing for File '{$fileName}'!";
$this->maniaControl->log($message); logMessage($message);
return false; return false;
} }
} }