gpluspost: Don't create the data for the RSS-Feed for Hootsuite, if you can post directly via plugin.
This commit is contained in:
parent
3ec6970d09
commit
bcdb734f0e
1 changed files with 14 additions and 13 deletions
|
@ -233,7 +233,8 @@ function gpluspost_send(&$a,&$b) {
|
||||||
if (!get_pconfig($b["uid"],'gpluspost','no_loop_prevention') and ($b['app'] == "Google+"))
|
if (!get_pconfig($b["uid"],'gpluspost','no_loop_prevention') and ($b['app'] == "Google+"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Always do the export via RSS-Feed (even if NextScripts is enabled), since it doesn't hurt
|
if (!gpluspost_nextscripts()) {
|
||||||
|
// Posting via RSS-Feed and Hootsuite
|
||||||
$itemlist = get_pconfig($b["uid"],'gpluspost','itemlist');
|
$itemlist = get_pconfig($b["uid"],'gpluspost','itemlist');
|
||||||
$items = explode(",", $itemlist);
|
$items = explode(",", $itemlist);
|
||||||
|
|
||||||
|
@ -249,8 +250,8 @@ function gpluspost_send(&$a,&$b) {
|
||||||
|
|
||||||
set_pconfig($b["uid"],'gpluspost','itemlist', $itemlist);
|
set_pconfig($b["uid"],'gpluspost','itemlist', $itemlist);
|
||||||
|
|
||||||
|
} else {
|
||||||
// Posting via NextScripts
|
// Posting via NextScripts
|
||||||
if (gpluspost_nextscripts()) {
|
|
||||||
$username = get_pconfig($b['uid'],'gpluspost','username');
|
$username = get_pconfig($b['uid'],'gpluspost','username');
|
||||||
$password = get_pconfig($b['uid'],'gpluspost','password');
|
$password = get_pconfig($b['uid'],'gpluspost','password');
|
||||||
$page = get_pconfig($b['uid'],'gpluspost','page');
|
$page = get_pconfig($b['uid'],'gpluspost','page');
|
||||||
|
|
Loading…
Reference in a new issue