com web/master: Fix couple of syntax errors: scripts/usergroups _update_infos
| From: | Hannes Magnusson | Date: | Thu, 27 Mar 2014 07:37:39 +0000 |
| Subject: | com web/master: Fix couple of syntax errors: scripts/usergroups _update_infos | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18618@lists.php.net to get a copy of this message | ||
Commit: 0dc02d4c426cd8a6efb5183f7c66a08b8950e549
Author: Hannes Magnusson <bjori@mongodb.com> 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
+}