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:
2eaadff
)
Use getLatest() accessor
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 28 Jun 2011 21:39:55 +0000
(21:39 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 28 Jun 2011 21:39:55 +0000
(21:39 +0000)
includes/RawPage.php
patch
|
blob
|
history
diff --git
a/includes/RawPage.php
b/includes/RawPage.php
index
4d5af46
..
dab6640
100644
(file)
--- a/
includes/RawPage.php
+++ b/
includes/RawPage.php
@@
-60,7
+60,7
@@
class RawPage {
if( !$oldid ) {
# get the current revision so we can get the penultimate one
$this->mArticle->getTouched();
- $oldid = $this->mArticle->
mLatest
;
+ $oldid = $this->mArticle->
getLatest()
;
}
$prev = $this->mTitle->getPreviousRevisionId( $oldid );
$oldid = $prev ? $prev : -1 ;