dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "OutputPage: Remove 'X-UA-Compatible' header (was for IE8-10 JS compat)"
[lhc/web/wiklou.git]
/
maintenance
/
mwdocgen.php
diff --git
a/maintenance/mwdocgen.php
b/maintenance/mwdocgen.php
index
43041a4
..
2d6a0be
100644
(file)
--- a/
maintenance/mwdocgen.php
+++ b/
maintenance/mwdocgen.php
@@
-138,8
+138,7
@@
class MWDocGen extends Maintenance {
$tmpFile = tempnam( wfTempDir(), 'MWDocGen-' );
if ( file_put_contents( $tmpFile, $conf ) === false ) {
$tmpFile = tempnam( wfTempDir(), 'MWDocGen-' );
if ( file_put_contents( $tmpFile, $conf ) === false ) {
- $this->error( "Could not write doxygen configuration to file $tmpFile\n",
- /** exit code: */ 1 );
+ $this->fatalError( "Could not write doxygen configuration to file $tmpFile\n" );
}
$command = $this->doxygen . ' ' . $tmpFile;
}
$command = $this->doxygen . ' ' . $tmpFile;
@@
-161,11
+160,10
@@
TEXT
);
if ( $exitcode !== 0 ) {
);
if ( $exitcode !== 0 ) {
- $this->error( "Something went wrong (exit: $exitcode)\n",
- $exitcode );
+ $this->fatalError( "Something went wrong (exit: $exitcode)\n", $exitcode );
}
}
}
}
}
}
-$maintClass =
'MWDocGen'
;
+$maintClass =
MWDocGen::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;