* @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) {
$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']]);