]> git.mxchange.org Git - friendica.git/commitdiff
Code standards
authorMichael <heluecht@pirati.ca>
Fri, 24 Apr 2020 05:37:06 +0000 (05:37 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 24 Apr 2020 05:37:06 +0000 (05:37 +0000)
static/dbview.config.php

index 165ae2fa1b9f89b7bc2f7eec16952553e282fa90..6b6a8e53fd9ec29943386ae638cdda1493678f3f 100755 (executable)
 
 return [
        "tag-view" => [
-               "fields" => ["uri-id" => ["post-tag", "uri-id"],
+               "fields" => [
+                       "uri-id" => ["post-tag", "uri-id"],
                        "uri" => ["item-uri", "uri"],
                        "guid" => ["item-uri", "guid"],
                        "type" => ["post-tag", "type"],
                        "tid" => ["post-tag", "tid"],
                        "cid" => ["post-tag", "cid"],
                        "name" => "CASE `cid` WHEN 0 THEN `tag`.`name` ELSE `contact`.`name` END",
-                       "url" => "CASE `cid` WHEN 0 THEN `tag`.`url` ELSE `contact`.`url` END"],
+                       "url" => "CASE `cid` WHEN 0 THEN `tag`.`url` ELSE `contact`.`url` END",
+               ],
                "query" => "FROM `post-tag`
                        INNER JOIN `item-uri` ON `item-uri`.id = `post-tag`.`uri-id`
                        LEFT JOIN `tag` ON `post-tag`.`tid` = `tag`.`id`