]> git.mxchange.org Git - friendica.git/blobdiff - mod/share.php
Remove fake private message notifications from ping output
[friendica.git] / mod / share.php
index fb4495019e47db1941a2fe10e358f2e05259ff39..74de1967b44782542d7c081a654d59c90e159593 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 use Friendica\App;
-use Friendica\Database\DBM;
+use Friendica\Database\DBA;
 use Friendica\Model\Item;
 
 function share_init(App $a) {
@@ -15,7 +15,7 @@ function share_init(App $a) {
                'guid', 'created', 'plink', 'title'];
        $item = Item::selectFirst($fields, ['id' => $post_id]);
 
-       if (!DBM::is_result($item) || $item['private'] == 1) {
+       if (!DBA::isResult($item) || $item['private'] == 1) {
                killme();
        }