fromgplus, gpluspost: Some more loop prevention added.

This commit is contained in:
Michael Vogel 2013-03-05 00:44:20 +01:00
parent e0eaaf7b23
commit 414c066b18
2 changed files with 67 additions and 2 deletions

View file

@ -327,7 +327,9 @@ function fromgplus_fetch($a, $uid) {
else
$location = "";
fromgplus_post($a, $uid, "Google+", $post, $location);
// Loop prevention - should be made better
if ($item->provider->title != "HootSuite")
fromgplus_post($a, $uid, "Google+", $post, $location);
//fromgplus_post($a, $uid, $item->provider->title, $post, $location);
break;
@ -361,7 +363,9 @@ function fromgplus_fetch($a, $uid) {
else
$location = "";
fromgplus_post($a, $uid, "Google+", $post, $location);
// Loop prevention - should be made better
if ($item->provider->title != "HootSuite")
fromgplus_post($a, $uid, "Google+", $post, $location);
//fromgplus_post($a, $uid, $item->provider->title, $post, $location);
break;
}