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:
7311ad6
)
Workaround for occasional fatal
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 23 Aug 2005 16:54:45 +0000
(16:54 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 23 Aug 2005 16:54:45 +0000
(16:54 +0000)
includes/Database.php
patch
|
blob
|
history
diff --git
a/includes/Database.php
b/includes/Database.php
index
719e63c
..
6f21171
100644
(file)
--- a/
includes/Database.php
+++ b/
includes/Database.php
@@
-1735,7
+1735,9
@@
border=\"0\" ALT=\"Google\"></A>
}
# No database access
- $wgMessageCache->disable();
+ if ( is_object( $wgMessageCache ) ) {
+ $wgMessageCache->disable();
+ }
$msg = wfGetSiteNotice();
if($msg == '') {