]> git.mxchange.org Git - friendica.git/commitdiff
Remove extraneous comment and fix whitespace between lines for style
authorHank Grabowski <hankgrabowski@gmail.com>
Tue, 13 Dec 2022 21:04:03 +0000 (16:04 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Tue, 13 Dec 2022 21:04:03 +0000 (16:04 -0500)
src/Module/Api/Friendica/Photoalbum/Show.php

index c1a795950692effa45637ccdac9d9d266bf35150..ac9573da385bb3d3d981c68ed34eb96f77f3a8ed 100644 (file)
@@ -62,17 +62,16 @@ class Show extends BaseApi
                        'limit'           => 50,    // Maximum number of results to return. Defaults to 50. Max 500
                        'latest_first'    => false, // Whether to reverse the order so newest are first
                ], $request);
+
                if (empty($request['album'])) {
                        throw new HTTPException\BadRequestException('No album name specified.');
                }
 
-
                $orderDescending = $request['latest_first'];
                $album = $request['album'];
                $condition = ["`uid` = ? AND `album` = ?", $uid, $album];
                $params = ['order' => ['id' => $orderDescending], 'group_by' => ['resource-id']];
 
-               //'limit' => [$request['offset'], $request['limit']]
                $limit = $request['limit'];
                if ($limit > 500) {
                        $limit = 500;