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 "Add semantic tags to license info text"
[lhc/web/wiklou.git]
/
maintenance
/
language
/
langmemusage.php
diff --git
a/maintenance/language/langmemusage.php
b/maintenance/language/langmemusage.php
index
32cfcd7
..
cb989bc
100644
(file)
--- a/
maintenance/language/langmemusage.php
+++ b/
maintenance/language/langmemusage.php
@@
-34,13
+34,13
@@
class LangMemUsage extends Maintenance {
public function __construct() {
parent::__construct();
public function __construct() {
parent::__construct();
- $this->
mDescription =
"Dumb program that tries to get the memory usage\n" .
- "for each language file";
+ $this->
addDescription(
"Dumb program that tries to get the memory usage\n" .
+ "for each language file"
)
;
}
public function execute() {
if ( !function_exists( 'memory_get_usage' ) ) {
}
public function execute() {
if ( !function_exists( 'memory_get_usage' ) ) {
- $this->
error( "You must compile PHP with --enable-memory-limit", true
);
+ $this->
fatalError( "You must compile PHP with --enable-memory-limit"
);
}
$langtool = new Languages();
}
$langtool = new Languages();