]> git.mxchange.org Git - friendica.git/blobdiff - mod/post.php
Merge pull request #2676 from tobiasd/20160713-lighttpdconfig
[friendica.git] / mod / post.php
index 631bf0eba63f5d058e813fdd5306730dd021f111..c0e783a6aaded3cb6ea126bfd177eb50cb76e4df 100644 (file)
@@ -9,8 +9,7 @@ require_once('include/salmon.php');
 require_once('include/crypto.php');
 // not yet ready for prime time
 //require_once('include/zot.php');
-
-if(! function_exists('post_post')) {
+       
 function post_post(&$a) {
 
        $bulk_delivery = false;
@@ -20,7 +19,7 @@ function post_post(&$a) {
        }
        else {
                $nickname = $a->argv[2];
-               $r = q("SELECT * FROM `user` WHERE `nickname` = '%s'
+               $r = q("SELECT * FROM `user` WHERE `nickname` = '%s' 
                                AND `account_expired` = 0 AND `account_removed` = 0 LIMIT 1",
                        dbesc($nickname)
                );
@@ -49,4 +48,4 @@ function post_post(&$a) {
        http_status_exit(($ret) ? $ret : 200);
        // NOTREACHED
 }
-}
+