Commit: 0dc02d4c426cd8a6efb5183f7c66a08b8950e549 Author: Hannes Magnusson <[email protected]> Thu, 27 Mar 2014 00:37:39 -0700 Parents: db18a15c3a4863a689d118bcd46357fd20f49abc Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=0dc02d4c426cd8a6efb5183f7c66a08b8950e549 Log: Fix couple of syntax errors Changed paths: M scripts/usergroups_update_infos Diff: diff --git a/scripts/usergroups_update_infos b/scripts/usergroups_update_infos index c7af49a..c44ba9f 100644 --- a/scripts/usergroups_update_infos +++ b/scripts/usergroups_update_infos @@ -9,12 +9,12 @@ function usergroups_update_infos($root) */ $nameOfUgCacheFile = $root . "/backend/usergroups.json"; // Get the complete list of usergroups. - fetch_into_file(USERGROUP_JSON_URL, $nameOfUgCacheFile) + fetch_into_file(USERGROUP_JSON_URL, $nameOfUgCacheFile); $usergroups = json_decode(file_get_contents($nameOfUgCacheFile), true); foreach($usergroups['groups'] as $group) { - if (! isset($group['icalendar_url']) { + if (! isset($group['icalendar_url'])) { continue; } $url = $group['icalendar_url']; @@ -24,4 +24,4 @@ function usergroups_update_infos($root) } fetch_into_file($url, $usergroupIcalFileCache); } -} \ No newline at end of file +} -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
