From: Bartosz DziewoƄski Date: Sat, 11 Mar 2017 21:24:47 +0000 (+0100) Subject: Title: Remove outdated comment in loadRestrictionsFromRows() X-Git-Tag: 1.31.0-rc.0~3821 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=8dd52aa4dc8e6f3b0874688aa65abc9146369aab;p=lhc%2Fweb%2Fwiklou.git Title: Remove outdated comment in loadRestrictionsFromRows() It has been refactored, and decodeExpiry() is now a method of Database. Change-Id: I357b303317c877be944474db1331855adb1eb8fd --- diff --git a/includes/Title.php b/includes/Title.php index 3ed6b8bb6e..a5bb9c691f 100644 --- 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!