mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-17 04:45:14 +02:00
remove other occurrences of file_get_contents() being used to fetch urls
This commit is contained in:
parent
cfec3b3099
commit
1d233755b4
6 changed files with 4 additions and 4 deletions
|
@ -288,7 +288,7 @@ function fromgplus_fetch($a, $uid) {
|
|||
$account = get_pconfig($uid,'fromgplus','account');
|
||||
$key = get_config('fromgplus','key');
|
||||
|
||||
$result = file_get_contents("https://www.googleapis.com/plus/v1/people/".$account."/activities/public?alt=json&pp=1&key=".$key."&maxResults=".$maxfetch);
|
||||
$result = fetch_url("https://www.googleapis.com/plus/v1/people/".$account."/activities/public?alt=json&pp=1&key=".$key."&maxResults=".$maxfetch);
|
||||
//$result = file_get_contents("google.txt");
|
||||
//file_put_contents("google.txt", $result);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue