forked from friendica/friendica-addons
Merge pull request #631 from annando/pumpio-fix
Fix: [pumpio] Wrong variable name in "if" / Some reworked parts
This commit is contained in:
commit
25e4decd78
3 changed files with 404 additions and 332 deletions
File diff suppressed because it is too large
Load diff
|
@ -1062,7 +1062,6 @@ function statusnet_createpost(App $a, $uid, $post, $self, $create_user, $only_ex
|
||||||
|
|
||||||
$postarray = [];
|
$postarray = [];
|
||||||
$postarray['network'] = NETWORK_STATUSNET;
|
$postarray['network'] = NETWORK_STATUSNET;
|
||||||
$postarray['gravity'] = 0;
|
|
||||||
$postarray['uid'] = $uid;
|
$postarray['uid'] = $uid;
|
||||||
$postarray['wall'] = 0;
|
$postarray['wall'] = 0;
|
||||||
|
|
||||||
|
|
|
@ -1311,7 +1311,6 @@ function twitter_createpost(App $a, $uid, $post, $self, $create_user, $only_exis
|
||||||
{
|
{
|
||||||
$postarray = [];
|
$postarray = [];
|
||||||
$postarray['network'] = NETWORK_TWITTER;
|
$postarray['network'] = NETWORK_TWITTER;
|
||||||
$postarray['gravity'] = 0;
|
|
||||||
$postarray['uid'] = $uid;
|
$postarray['uid'] = $uid;
|
||||||
$postarray['wall'] = 0;
|
$postarray['wall'] = 0;
|
||||||
$postarray['uri'] = "twitter::" . $post->id_str;
|
$postarray['uri'] = "twitter::" . $post->id_str;
|
||||||
|
|
Loading…
Reference in a new issue