Title: Remove outdated comment in loadRestrictionsFromRows()
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 11 Mar 2017 21:24:47 +0000 (22:24 +0100)
committerKrinkle <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

index 3ed6b8b..a5bb9c6 100644 (file)
@@ -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!