dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d56c8
)
Revert r44970 "Add FileCache exit back from r44801"
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 23 Dec 2008 21:50:42 +0000
(21:50 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 23 Dec 2008 21:50:42 +0000
(21:50 +0000)
Forcing an exit from the middle of an initialization function seems like pretty poor practice.
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
2e00cde
..
ce5fd68
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-239,8
+239,7
@@
class MediaWiki {
$article->viewUpdates();
}
wfProfileOut( __METHOD__ );
- $this->restInPeace();
- exit;
+ return true;
}
}
/* No match to special cases */