Remove unwanted stuff

This commit is contained in:
Michael 2023-05-09 05:34:56 +00:00
parent d20cae82ad
commit b692146533
2 changed files with 2 additions and 2 deletions

View file

@ -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);
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 [];
}

View file

@ -336,7 +336,7 @@ class Photos extends \Friendica\Module\BaseProfile
$sql_extra
GROUP BY `resource-id`
ORDER BY `created` DESC
LIMIT ? , ?",
LIMIT ? , ?",
$this->owner['uid'],
Photo::DEFAULT,
$pager->getStart(),