]> git.mjollnir.org Git - moodle.git/commit
MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()
authormartinlanghoff <martinlanghoff>
Wed, 27 Feb 2008 02:52:28 +0000 (02:52 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 27 Feb 2008 02:52:28 +0000 (02:52 +0000)
commit7cfb11db0b17ed99f5a3328ad56053b20016cdc6
treef34b0254f1f074d20a077fb6d554a495053f4429
parent8f64ba04837a3993ea119402f3dedc77ae1d320e
MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()

So that commandline scripts can die with a message and
a nonzero errorcode
lib/weblib.php