Merge pull request #650 from annando/post-type

We don't store the "type" parameter anymore
This commit is contained in:
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;