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:
5252168
)
Replacing "$hash" with "$this->hash" - without this would result in cache class not...
author
Nick Jenkins
<nickj@users.mediawiki.org>
Fri, 12 Jan 2007 06:10:52 +0000
(06:10 +0000)
committer
Nick Jenkins
<nickj@users.mediawiki.org>
Fri, 12 Jan 2007 06:10:52 +0000
(06:10 +0000)
maintenance/importPhase2.php
patch
|
blob
|
history
diff --git
a/maintenance/importPhase2.php
b/maintenance/importPhase2.php
index
b9fdf8b
..
3814801
100644
(file)
--- a/
maintenance/importPhase2.php
+++ b/
maintenance/importPhase2.php
@@
-332,10
+332,10
@@
class TitleCache {
var $hash = array();
function &fetch( $dbkey ) {
- if( !isset( $hash[$dbkey] ) ) {
- $hash[$dbkey] = Title::newFromDBkey( $dbkey );
+ if( !isset( $
this->
hash[$dbkey] ) ) {
+ $
this->
hash[$dbkey] = Title::newFromDBkey( $dbkey );
}
- return $hash[$dbkey];
+ return $
this->
hash[$dbkey];
}
}