]> git.mxchange.org Git - friendica.git/commitdiff
Coding standards, changed database version
authorMichael <heluecht@pirati.ca>
Mon, 22 Nov 2021 07:39:40 +0000 (07:39 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 22 Nov 2021 07:39:40 +0000 (07:39 +0000)
database.sql
src/Factory/Api/Twitter/Status.php
static/dbstructure.config.php

index f0beb293310c0518113404bb14b3d4c9c3c77a2e..12ad6eb2c309b1ecbb32e4994af77f2a21df8c41 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2021.12-dev (Siberian Iris)
--- DB_UPDATE_VERSION 1444
+-- DB_UPDATE_VERSION 1445
 -- ------------------------------------------
 
 
index 96114eb545a26857124c9aa4f80f2fa4dc928b2c..b06b74e4d1a4445b08334884240eefa5056678e0 100644 (file)
@@ -95,14 +95,14 @@ class Status extends BaseFactory
                        $retweeted      = $this->createFromUriId($item['thr-parent-id'], $uid)->toArray();
                        $retweeted_item = Post::selectFirst(['title', 'body', 'author-id'], ['uri-id' => $item['thr-parent-id'],'uid' => [0, $uid]]);
                        $item['title']  = $retweeted_item['title'] ?? $item['title'];
-                       $item['body']   = $retweeted_item['body'] ?? $item['body'];
+                       $item['body']   = $retweeted_item['body']  ?? $item['body'];
                        $author         = $this->twitterUser->createFromContactId($retweeted_item['author-id'], $item['uid']);
                } else {
                        $retweeted = [];
                }
 
                $quoted = [];
-       
+
                return new \Friendica\Object\Api\Twitter\Status($item, $author, $owner, $retweeted, $quoted, $attachments, $geo, $friendica_activities, $entities, $friendica_comments);
        }
 }
index 97cde18bb5b4765733f421a995f92f6cce905dda..e0645c05e07f0ddc10a2f9631277225f70501bf8 100644 (file)
@@ -55,7 +55,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1444);
+       define('DB_UPDATE_VERSION', 1445);
 }
 
 return [