]> git.mxchange.org Git - friendica.git/commitdiff
Remove unwanted stuff
authorMichael <heluecht@pirati.ca>
Tue, 9 May 2023 05:34:56 +0000 (05:34 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 9 May 2023 05:34:56 +0000 (05:34 +0000)
src/Model/Photo.php
src/Module/Profile/Photos.php

index fbe7ac49e6979e97fe36ff6cf02d07ef1d7cc21c..ff29a13fc7c1876cd2c1c34e60c72cd48d063198 100644 (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 [];
                }
 
index 6fa04d977ca03f9b1e2a2f59e2eb7ab8d8ad8be2..8e826bd9134a9aca4ed1ca2f93c6e830b591a8da 100644 (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(),