Also check if 'debug_backtrace' is disabled in Maintenance::shouldExecute()
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Wed, 25 Jun 2014 20:39:58 +0000 (22:39 +0200)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 26 Jun 2014 00:06:32 +0000 (00:06 +0000)
commit577908d0ffb0005fa42d13af1107bccb582a75b5
tree27854d07f5e80b60c073070413553dcab0dbce9d
parent74e6ce4fd65c89ba83ce5244f7085fac19d4a735
Also check if 'debug_backtrace' is disabled in Maintenance::shouldExecute()

And execute the script if $wgCommandLineMode is true. Otherwise scripts
never get executed.

Change-Id: I609d859b616905ab44a060a861be500609e5a9f0
maintenance/Maintenance.php