]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/PostUpdate.php
Merge pull request #11895 from annando/smarty-sub-dir
[friendica.git] / src / Database / PostUpdate.php
index 91f5301e17f19525472ecfccd5ecac86b988373e..9216d800da42f643860b872c17b24df27aa099c8 100644 (file)
@@ -1097,7 +1097,7 @@ class PostUpdate
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         * @throws \ImagickException
         */
-       public static function update1483()
+       private static function update1483()
        {
                // Was the script completed?
                if (DI::config()->get('system', 'post_update_version') >= 1483) {
@@ -1108,7 +1108,6 @@ class PostUpdate
 
                $posts = DBA::select('post-view', ['uri-id'], ['conversation' => './']);
                while ($post = DBA::fetch($posts)) {
-                       echo $post['uri-id'] . "\n";
                        $parent = Item::getParent($post['uri-id']);
                        if ($parent != 0) {
                                DBA::update('post', ['parent-uri-id' => $parent], ['uri-id' => $post['uri-id']]);