Fast Log add tenant

This commit is contained in:
Kekskurse 2021-01-21 01:45:00 +01:00
parent c705813a9d
commit 8019a3f9a7

View file

@ -14,7 +14,7 @@ class Access {
throw new \Exception("Invalide Typ for Access Log");
}
$this->addAccessLog($image->tenant, null, $image->id, $typ, $file->getSize());
$this->addAccessLog($image->tenant, $image->gallery, $image->id, $typ, $file->getSize());
}
public function addById(int $image_id, File $file, string $typ) {