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:
8f48467
)
Title: Remove outdated comment in loadRestrictionsFromRows()
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Sat, 11 Mar 2017 21:24:47 +0000
(22:24 +0100)
committer
Krinkle
<krinklemail@gmail.com>
Tue, 14 Mar 2017 02:37:40 +0000
(
02:37
+0000)
It has been refactored, and decodeExpiry() is now a method of Database.
Change-Id: I357b303317c877be944474db1331855adb1eb8fd
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
3ed6b8b
..
a5bb9c6
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2943,8
+2943,6
@@
class Title implements LinkTarget {
continue;
}
- // This code should be refactored, now that it's being used more generally,
- // But I don't really see any harm in leaving it in Block for now -werdna
$expiry = $dbr->decodeExpiry( $row->pr_expiry );
// Only apply the restrictions if they haven't expired!