]> git.mxchange.org Git - friendica.git/commitdiff
Fixing tests
authorMichael <heluecht@pirati.ca>
Sun, 15 May 2022 20:26:14 +0000 (20:26 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 15 May 2022 20:26:14 +0000 (20:26 +0000)
src/Model/Post/History.php

index e889ccf20559b0344e308fb22646ee26cb3de59e..68f2e9cda67f34f80db3236115fbfbb428c5a848 100644 (file)
@@ -38,14 +38,14 @@ class History
        public static function add(int $uri_id, array $item)
        {
                $allfields = DBStructure::definition('', false);
-               $fields = array_keys($allfields['post-history']['fields']);
+               $fields    = array_keys($allfields['post-history']['fields']);
 
                $post = Post::selectFirstPost($fields, ['uri-id' => $uri_id]);
                if (empty($post)) {
                        return;
                }
 
-               $update = false;
+               $update  = false;
                $changed = DBStructure::getFieldsForTable('post-history', $item);
                unset($changed['uri-id']);
                unset($changed['edited']);