projects
/
friendica-addons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
46196ec
d18bb44
)
Merge pull request #505 from MrPetovan/task/4116-move-twitteroauth-to-composer
author
Michael Vogel
<icarus@dabo.de>
Sun, 28 Jan 2018 18:19:03 +0000
(19:19 +0100)
committer
GitHub
<noreply@github.com>
Sun, 28 Jan 2018 18:19:03 +0000
(19:19 +0100)
Move TwitterOAuth to composer Part 1: Twitter
1
2
twitter/twitter.php
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
twitter/twitter.php
index d625dfa5bae8f5ef7baa76d807e62af8019e9143,5440f524ac94f49675732949cf63fa5e08b10ac0..7e38bd4310d5e852d02e4c517ba297746c62552a
---
1
/
twitter/twitter.php
---
2
/
twitter/twitter.php
+++ b/
twitter/twitter.php
@@@
-1655,10
-1639,11
+1640,11
@@@
function twitter_fetchparentposts(App $
foreach ($posts as $post) {
$postarray = twitter_createpost($a, $uid, $post, $self, false, false, false);
- if (trim($postarray['body']) == "")
+ if (trim($postarray['body']) == "")
{
continue;
+ }
- $item =
item_store
($postarray);
+ $item =
Item::insert
($postarray);
$postarray["id"] = $item;
logger('twitter_fetchparentpost: User ' . $self["nick"] . ' posted parent timeline item ' . $item);