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:
251089f
)
Revert "MDL-47395 added cli_error() visual cue"
author
Sam Hemelryk
<sam@moodle.com>
Thu, 2 Oct 2014 04:39:49 +0000
(17:39 +1300)
committer
Sam Hemelryk
<sam@moodle.com>
Thu, 2 Oct 2014 04:39:49 +0000
(17:39 +1300)
This reverts commit
eb60c78c771ee4acbfe3667a3cc44c2df61e1def
.
lib/clilib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/clilib.php
b/lib/clilib.php
index
64c837e
..
32272de
100644
(file)
--- a/
lib/clilib.php
+++ b/
lib/clilib.php
@@
-171,7
+171,7
@@
function cli_problem($text) {
* @return void (does not return)
*/
function cli_error($text, $errorcode=1) {
- fwrite(STDERR,
"\xE2\x9D\x8C ".
$text);
+ fwrite(STDERR, $text);
fwrite(STDERR, "\n");
die($errorcode);
}