]> git.mxchange.org Git - friendica.git/blobdiff - mod/post.php
Merge pull request #3949 from annando/further-information
[friendica.git] / mod / post.php
index c8a88e66cd329c5bd853084f638a33a52e29e1fb..8e279644bd2a7e70298a7220d73de0929e8c1ab9 100644 (file)
@@ -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);
                }