Passed
Pull Request — master (#5952)
by
unknown
10:11
created
html/user/get_project_config.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
 //
32 32
 function show_platforms() {
33 33
     $xmlFragment = unserialize(get_cached_data(3600, "project_config_platform_xml"));
34
-    if ($xmlFragment==false){
34
+    if ($xmlFragment==false) {
35 35
         $platforms = BoincDb::get()->enum_fields("platform, DBNAME.app_version, DBNAME.app", "BoincPlatform", "platform.name, platform.user_friendly_name, plan_class", "app_version.platformid = platform.id and app_version.appid = app.id and app_version.deprecated=0 and app.deprecated=0 group by platform.name, plan_class", "");
36 36
         $xmlFragment = "    <platforms>";
37
-        foreach ($platforms as $platform){
37
+        foreach ($platforms as $platform) {
38 38
             $xmlFragment .= "
39 39
             <platform>
40 40
                 <platform_name>$platform->name</platform_name>
Please login to merge, or discard this patch.
html/inc/boinc_db.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -387,10 +387,10 @@
 block discarded – undo
387 387
         $db = BoincDb::get();
388 388
         return $db->enum('result', 'BoincResult', $where_clause, $order_clause);
389 389
     }
390
-	static function enum_fields($fields, $where_clause, $order_clause) {
390
+    static function enum_fields($fields, $where_clause, $order_clause) {
391 391
         $db = BoincDb::get();
392
-		return $db->enum_fields('result', 'BoincResult', $fields, $where_clause, $order_clause);
393
-	}
392
+        return $db->enum_fields('result', 'BoincResult', $fields, $where_clause, $order_clause);
393
+    }
394 394
     function update($clause) {
395 395
         $db = BoincDb::get();
396 396
         return $db->update($this, 'result', $clause);
Please login to merge, or discard this patch.