X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwallmessage.php;h=1ac54c9f8a035e01e7b72cea3355b9ca3cad223d;hb=c54a2c1e83822f6e043b449468570d2c9ed3ab3a;hp=fe3b9a82a6f641deb968c1964f2b2e65d1f760d9;hpb=94f6f12ba3a5c1d506255803e709cb640147ebf4;p=friendica.git diff --git a/mod/wallmessage.php b/mod/wallmessage.php index fe3b9a82a6..1ac54c9f8a 100644 --- a/mod/wallmessage.php +++ b/mod/wallmessage.php @@ -2,6 +2,7 @@ use Friendica\App; use \Friendica\Core\System; +use Friendica\Database\DBM; require_once('include/message.php'); @@ -25,7 +26,7 @@ function wallmessage_post(App $a) { dbesc($recipient) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { logger('wallmessage: no recipient'); return; } @@ -88,7 +89,7 @@ function wallmessage_content(App $a) { dbesc($recipient) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { notice( t('No recipient.') . EOL); logger('wallmessage: no recipient'); return;