mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
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);
|
||||
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 [];
|
||||
}
|
||||
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue