Skip to content

Commit

Permalink
Merge branch 'wip-mdl-49772' of git://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 27, 2015
2 parents 1bd2c8a + b7861dd commit 9d1593d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/behat/classes/behat_config_manager.php
Expand Up @@ -273,12 +273,6 @@ public final static function get_parallel_test_file_path($runprocess = 0) {
* @return int
*/
public final static function get_parallel_test_runs($runprocess = 0) {
global $CFG;

// Optimise reading this information from file.
if (!empty($CFG->behatparallelprocesses)) {
return $CFG->behatparallelprocesses;
}

$parallelrun = 0;
// Get parallel run info from first file and last file.
Expand All @@ -289,8 +283,6 @@ public final static function get_parallel_test_runs($runprocess = 0) {
}
}

$CFG->behatparallelprocesses = $parallelrun;

return $parallelrun;
}

Expand Down

0 comments on commit 9d1593d

Please sign in to comment.