mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 11:50:20 +00:00
Merge pull request #650 from annando/post-type
We don't store the "type" parameter anymore
This commit is contained in:
commit
9463696159
5 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -172,7 +172,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';
|
||||
|
|
|
@ -825,7 +825,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";
|
||||
|
|
|
@ -833,7 +833,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";
|
||||
|
|
|
@ -810,7 +810,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;
|
||||
|
|
Loading…
Reference in a new issue