Merge pull request #650 from annando/post-type

We don't store the "type" parameter anymore
pull/652/head
Tobias Diekershoff 2018-07-20 12:53:12 +02:00 committed by GitHub
commit 9463696159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; $_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;

View File

@ -172,7 +172,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';

View File

@ -825,7 +825,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";

View File

@ -833,7 +833,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";

View File

@ -810,7 +810,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;