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 [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -336,7 +336,7 @@ class Photos extends \Friendica\Module\BaseProfile
|
||||||
$sql_extra
|
$sql_extra
|
||||||
GROUP BY `resource-id`
|
GROUP BY `resource-id`
|
||||||
ORDER BY `created` DESC
|
ORDER BY `created` DESC
|
||||||
LIMIT ? , ?",
|
LIMIT ? , ?",
|
||||||
$this->owner['uid'],
|
$this->owner['uid'],
|
||||||
Photo::DEFAULT,
|
Photo::DEFAULT,
|
||||||
$pager->getStart(),
|
$pager->getStart(),
|
||||||
|
|
Loading…
Reference in a new issue