Remove unwanted stuff
This commit is contained in:
parent
d20cae82ad
commit
b692146533
2 changed files with 2 additions and 2 deletions
|
@ -1194,7 +1194,7 @@ class Photo
|
||||||
|
|
||||||
$smallest = self::storeWithPreview($image, $user['uid'], $resource_id, $filename, $filesize, $album, $desc, $allow_cid, $allow_gid, $deny_cid, $deny_gid);
|
$smallest = self::storeWithPreview($image, $user['uid'], $resource_id, $filename, $filesize, $album, $desc, $allow_cid, $allow_gid, $deny_cid, $deny_gid);
|
||||||
if ($smallest < 0) {
|
if ($smallest < 0) {
|
||||||
Logger::warning('Photo could not be stored', ['uid' => $user['uid'], 'resource_id' => $resource_id, 'filename' => $filename, 'album' => $album]); Logger::notice('Photo not stored', ['resource-id' => $resource_id]);
|
Logger::warning('Photo could not be stored', ['uid' => $user['uid'], 'resource_id' => $resource_id, 'filename' => $filename, 'album' => $album]);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue