fixed $this in static methods

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

No files matched your search

+1 -1
View File
@@ -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;
}
}
+1 -1
View File
@@ -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;
}
}