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:
ee3153d
)
In wasDeletedSinceLastEdit(): fix odd string comparison method, there's an operator...
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 28 Sep 2008 04:20:49 +0000
(
04:20
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 28 Sep 2008 04:20:49 +0000
(
04:20
+0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
7e8533e
..
13c9a29
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-326,8
+326,8
@@
class EditPage {
if ( $this->mTitle->isDeleted() ) {
$this->lastDelete = $this->getLastDelete();
if ( $this->lastDelete ) {
- $delete
t
ime = wfTimestamp( TS_MW, $this->lastDelete->log_timestamp );
- if (
($deletetime - $this->starttime) > 0
) {
+ $delete
T
ime = wfTimestamp( TS_MW, $this->lastDelete->log_timestamp );
+ if (
$deleteTime > $this->starttime
) {
$this->deletedSinceEdit = true;
}
}