]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
new version of the ShaShape iconset
[friendica.git] / mod / item.php
index 3baf618ca8cb92fc3e8c5d44646688236a326a9b..91a94974e9a232cd0b7c1e2a55893fe0ee69c41b 100644 (file)
@@ -51,7 +51,6 @@ function item_post(&$a) {
        $message_id = ((x($_REQUEST,'message_id') && $api_source)  ? strip_tags($_REQUEST['message_id'])       : '');
 
        $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
-       $consensus = intval($_REQUEST['consensus']);
        $preview = ((x($_REQUEST,'preview')) ? intval($_REQUEST['preview']) : 0);
 
 
@@ -656,15 +655,6 @@ function item_post(&$a) {
        if(!$thr_parent)
                $thr_parent = $uri;
 
-
-       /* *
-        * to make consensus work, red requests the consensus flag from boot.php
-        * this have to be inserted into the lower $datarray
-        * 
-        *      if($consensus)
-        *              $item_flags |= ITEM_CONSENSUS;
-        */
-
        $datarray = array();
        $datarray['uid']           = $profile_uid;
        $datarray['type']          = $post_type;