]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Post update script to move old content from the item table
[friendica.git] / src / Protocol / Diaspora.php
index 6ef529b7fef8714e37ee9014b35c1e5aa82236c9..47101d5ad7a3e33f2abcd69e2c97af645957f93f 100644 (file)
@@ -1543,13 +1543,6 @@ class Diaspora
 
                logger('Contacts are updated.');
 
-               // update items
-               // This is an extreme performance killer
-               Item::update(['owner-link' => $data["url"]], ['owner-link' => $contact["url"], 'uid' => $importer["uid"]]);
-               Item::update(['author-link' => $data["url"]], ['author-link' => $contact["url"], 'uid' => $importer["uid"]]);
-
-               logger('Items are updated.');
-
                return true;
        }