Passed
Push — master ( c63620...d7f5ae )
by David
39:50 queued 29:50
created
html/inc/submit_util.inc 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         }
137 137
     }
138 138
     if ($fp_total) {
139
-        $batch->fraction_done = $fp_done / $fp_total;
139
+        $batch->fraction_done = $fp_done/$fp_total;
140 140
     }
141 141
     if ($completed && $batch->state == BATCH_STATE_IN_PROGRESS) {
142 142
         $batch->state = BATCH_STATE_COMPLETE;
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 // get the total size of output files of a batch
228 228
 //
229 229
 function batch_output_file_size($batchid) {
230
-    $batch_td_size=0;
230
+    $batch_td_size = 0;
231 231
     $wus = BoincWorkunit::enum("batch=$batchid");
232 232
     $fanout = parse_config(get_config(), "<uldl_dir_fanout>");
233 233
     $upload_dir = parse_config(get_config(), "<upload_dir>");
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 }
258 258
 
259 259
 function boinc_get_wu_output_files_url($user, $wu_id) {
260
-    $auth_str =  md5($user->authenticator.$wu_id);
260
+    $auth_str = md5($user->authenticator.$wu_id);
261 261
     return "get_output.php?cmd=workunit_files&wu_id=$wu_id&auth_str=$auth_str";
262 262
 }
263 263
 
Please login to merge, or discard this patch.