Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58bc15
)
MDL-42733 behat: Removing the restriction of an started output to handle the PHP...
author
David Monllao
<davidm@moodle.com>
Thu, 21 Nov 2013 06:34:56 +0000
(14:34 +0800)
committer
David Monllao
<davidm@moodle.com>
Thu, 21 Nov 2013 06:34:56 +0000
(14:34 +0800)
lib/behat/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/behat/lib.php
b/lib/behat/lib.php
index
7374550
..
0d9f2e2
100644
(file)
--- a/
lib/behat/lib.php
+++ b/
lib/behat/lib.php
@@
-84,12
+84,6
@@
function behat_error($errorcode, $text = '') {
* @return bool
*/
function behat_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
- global $OUTPUT;
-
- // Only after something has been writen.
- if (!$OUTPUT->has_started()) {
- return false;
- }
// If is preceded by an @ we don't show it.
if (!error_reporting()) {