X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpost.php;h=8e279644bd2a7e70298a7220d73de0929e8c1ab9;hb=f22fe7118d52251dbd0898279ef078b797885ec4;hp=c8a88e66cd329c5bd853084f638a33a52e29e1fb;hpb=7b352f3f74b045690cdeae507b609f7a9cc8db03;p=friendica.git diff --git a/mod/post.php b/mod/post.php index c8a88e66cd..8e279644bd 100644 --- a/mod/post.php +++ b/mod/post.php @@ -4,6 +4,8 @@ * Zot endpoint */ +use Friendica\App; +use Friendica\Database\DBM; require_once('include/salmon.php'); require_once('include/crypto.php'); @@ -23,7 +25,7 @@ function post_post(App $a) { AND `account_expired` = 0 AND `account_removed` = 0 LIMIT 1", dbesc($nickname) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { http_status_exit(500); }