]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
Post update script to move old content from the item table
[friendica.git] / src / Protocol / DFRN.php
index c1e116f2f73b28780b7f612e441e3a188620cea2..f979d6b00369aea49346e1d082e8945fdf64cd1f 100644 (file)
@@ -2087,13 +2087,6 @@ class DFRN
 
                logger('Contacts are updated.');
 
-               // update items
-               // This is an extreme performance killer
-               Item::update(['owner-link' => $relocate["url"]], ['owner-link' => $old["url"], 'uid' => $importer["importer_uid"]]);
-               Item::update(['author-link' => $relocate["url"]], ['author-link' => $old["url"], 'uid' => $importer["importer_uid"]]);
-
-               logger('Items are updated.');
-
                /// @TODO
                /// merge with current record, current contents have priority
                /// update record, set url-updated