Fast Log add tenant

This commit is contained in:
Kekskurse 2021-01-21 01:41:30 +01:00
parent 117d7b0cae
commit 7596304809

View file

@ -74,7 +74,7 @@ class Image {
return $file; return $file;
} }
public function getRawImage(\App\Models\Image $image, boolean $cache = null): File { public function getRawImage(\App\Models\Image $image, bool $cache = null): File {
$cacheName = $this->getCachePath($image, null); $cacheName = $this->getCachePath($image, null);
if(Storage::disk("cache")->exists($cacheName)) { if(Storage::disk("cache")->exists($cacheName)) {
Log::info("Get RAW-Image File from cache", ["image_id" => $image->id]); Log::info("Get RAW-Image File from cache", ["image_id" => $image->id]);