fixed $this in static methods
This commit is contained in:
parent
5f09a4ad3d
commit
d0194da312
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user