]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Merge pull request #2238 from fabrixxm/develop
[friendica.git] / mod / item.php
index 91a94974e9a232cd0b7c1e2a55893fe0ee69c41b..f25ea36b2c0c13ed9a08a24e968b8a3741bf4fcf 100644 (file)
@@ -176,10 +176,6 @@ function item_post(&$a) {
        // have been provided, and run any anti-spam plugins
 
 
-       // TODO
-
-
-
 
        if((! can_write_wall($a,$profile_uid)) && (! $allow_moderated)) {
                notice( t('Permission denied.') . EOL) ;
@@ -362,8 +358,7 @@ function item_post(&$a) {
        if((local_user()) && (local_user() == $profile_uid)) {
                $self = true;
                $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 1 LIMIT 1",
-                       intval($_SESSION['uid'])
-               );
+                       intval($_SESSION['uid']));
        }
        elseif(remote_user()) {
                if(is_array($_SESSION['remote'])) {