Fix DatabaseSqliteTest for db changes for chunk support.
[lhc/web/wiklou.git] / includes / specials / SpecialProtectedpages.php
index 7c96faa..eec974f 100644 (file)
@@ -97,7 +97,7 @@ class SpecialProtectedpages extends SpecialPage {
                }
 
                $stxt = '';
-               $lang = $this->getLang();
+               $lang = $this->getLanguage();
 
                $expiry = $lang->formatExpiry( $row->pr_expiry, TS_MW );
                if( $expiry != $infinity ) {