We don't store the "type" parameter anymore

This commit is contained in:
Michael 2018-07-18 05:49:41 +00:00
parent e74ccf35c9
commit cdd510909f
5 changed files with 0 additions and 5 deletions

View file

@ -169,7 +169,6 @@ function fromgplus_post($a, $uid, $source, $body, $location, $coord, $id) {
$_SESSION['uid'] = $uid;
unset($_REQUEST);
$_REQUEST['type'] = 'wall';
$_REQUEST['api_source'] = true;
$_REQUEST['profile_uid'] = $uid;

View file

@ -171,7 +171,6 @@ function ifttt_message($uid, $item)
$_SESSION['uid'] = $uid;
unset($_REQUEST);
$_REQUEST['type'] = 'wall';
$_REQUEST['api_source'] = true;
$_REQUEST['profile_uid'] = $uid;
$_REQUEST['source'] = 'IFTTT';

View file

@ -817,7 +817,6 @@ function pumpio_fetchtimeline(&$a, $uid)
$_SESSION["uid"] = $uid;
unset($_REQUEST);
$_REQUEST["type"] = "wall";
$_REQUEST["api_source"] = true;
$_REQUEST["profile_uid"] = $uid;
$_REQUEST["source"] = "pump.io";

View file

@ -832,7 +832,6 @@ function statusnet_fetchtimeline(App $a, $uid)
$_SESSION["uid"] = $uid;
unset($_REQUEST);
$_REQUEST["type"] = "wall";
$_REQUEST["api_source"] = true;
$_REQUEST["profile_uid"] = $uid;
//$_REQUEST["source"] = "StatusNet";

View file

@ -801,7 +801,6 @@ function twitter_prepare_body(App $a, &$b)
*/
function twitter_do_mirrorpost(App $a, $uid, $post)
{
$datarray["type"] = "wall";
$datarray["api_source"] = true;
$datarray["profile_uid"] = $uid;
$datarray["extid"] = NETWORK_TWITTER;