]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Notifier.php
More item abstraction / making remote deletion work again
[friendica.git] / src / Worker / Notifier.php
index fcf36bd55ab41a589a6b49fdddfb0b30e88c92e3..96549233e58a56fe1d1f25ecd7c332c04cf18047 100644 (file)
@@ -167,7 +167,7 @@ class Notifier {
 
                        $fields = ['network', 'author-id', 'owner-id'];
                        $condition = ['uri' => $target_item["thr-parent"], 'uid' => $target_item["uid"]];
-                       $thr_parent = dba::selectFirst('item', $fields, $condition);
+                       $thr_parent = Item::selectFirst($fields, $condition);
 
                        logger('GUID: '.$target_item["guid"].': Parent is '.$parent['network'].'. Thread parent is '.$thr_parent['network'], LOGGER_DEBUG);