We don't store the "type" parameter anymore
This commit is contained in:
parent
e74ccf35c9
commit
cdd510909f
|
@ -169,7 +169,6 @@ function fromgplus_post($a, $uid, $source, $body, $location, $coord, $id) {
|
||||||
$_SESSION['uid'] = $uid;
|
$_SESSION['uid'] = $uid;
|
||||||
|
|
||||||
unset($_REQUEST);
|
unset($_REQUEST);
|
||||||
$_REQUEST['type'] = 'wall';
|
|
||||||
$_REQUEST['api_source'] = true;
|
$_REQUEST['api_source'] = true;
|
||||||
|
|
||||||
$_REQUEST['profile_uid'] = $uid;
|
$_REQUEST['profile_uid'] = $uid;
|
||||||
|
|
|
@ -171,7 +171,6 @@ function ifttt_message($uid, $item)
|
||||||
$_SESSION['uid'] = $uid;
|
$_SESSION['uid'] = $uid;
|
||||||
|
|
||||||
unset($_REQUEST);
|
unset($_REQUEST);
|
||||||
$_REQUEST['type'] = 'wall';
|
|
||||||
$_REQUEST['api_source'] = true;
|
$_REQUEST['api_source'] = true;
|
||||||
$_REQUEST['profile_uid'] = $uid;
|
$_REQUEST['profile_uid'] = $uid;
|
||||||
$_REQUEST['source'] = 'IFTTT';
|
$_REQUEST['source'] = 'IFTTT';
|
||||||
|
|
|
@ -817,7 +817,6 @@ function pumpio_fetchtimeline(&$a, $uid)
|
||||||
$_SESSION["uid"] = $uid;
|
$_SESSION["uid"] = $uid;
|
||||||
|
|
||||||
unset($_REQUEST);
|
unset($_REQUEST);
|
||||||
$_REQUEST["type"] = "wall";
|
|
||||||
$_REQUEST["api_source"] = true;
|
$_REQUEST["api_source"] = true;
|
||||||
$_REQUEST["profile_uid"] = $uid;
|
$_REQUEST["profile_uid"] = $uid;
|
||||||
$_REQUEST["source"] = "pump.io";
|
$_REQUEST["source"] = "pump.io";
|
||||||
|
|
|
@ -832,7 +832,6 @@ function statusnet_fetchtimeline(App $a, $uid)
|
||||||
$_SESSION["uid"] = $uid;
|
$_SESSION["uid"] = $uid;
|
||||||
|
|
||||||
unset($_REQUEST);
|
unset($_REQUEST);
|
||||||
$_REQUEST["type"] = "wall";
|
|
||||||
$_REQUEST["api_source"] = true;
|
$_REQUEST["api_source"] = true;
|
||||||
$_REQUEST["profile_uid"] = $uid;
|
$_REQUEST["profile_uid"] = $uid;
|
||||||
//$_REQUEST["source"] = "StatusNet";
|
//$_REQUEST["source"] = "StatusNet";
|
||||||
|
|
|
@ -801,7 +801,6 @@ function twitter_prepare_body(App $a, &$b)
|
||||||
*/
|
*/
|
||||||
function twitter_do_mirrorpost(App $a, $uid, $post)
|
function twitter_do_mirrorpost(App $a, $uid, $post)
|
||||||
{
|
{
|
||||||
$datarray["type"] = "wall";
|
|
||||||
$datarray["api_source"] = true;
|
$datarray["api_source"] = true;
|
||||||
$datarray["profile_uid"] = $uid;
|
$datarray["profile_uid"] = $uid;
|
||||||
$datarray["extid"] = NETWORK_TWITTER;
|
$datarray["extid"] = NETWORK_TWITTER;
|
||||||
|
|
Loading…
Reference in a new issue