Merge branch 'MDL-67169_36' of https://github.com/stronk7/moodle into MOODLE_36_STABLE
This commit is contained in:
@@ -111,7 +111,7 @@ class core_messageinbound_testcase extends advanced_testcase {
|
||||
// Break on the --[TOKEN]-- tags in the file.
|
||||
$content = file_get_contents($file->getRealPath());
|
||||
$content = preg_replace("#\r\n#", "\n", $content);
|
||||
$tokens = preg_split('#(?:^|\n*)----([A-Z]+)----\n#', file_get_contents($file->getRealPath()),
|
||||
$tokens = preg_split('#(?:^|\n*)----([A-Z]+)----\n#', $content,
|
||||
null, PREG_SPLIT_DELIM_CAPTURE);
|
||||
$sections = array(
|
||||
// Key => Required.
|
||||
|
||||
Reference in New Issue
Block a user