WLFilters: set default values
[lhc/web/wiklou.git] / includes / specials / SpecialRecentchanges.php
index 4659b9d..d6eac32 100644 (file)
@@ -991,4 +991,12 @@ class SpecialRecentChanges extends ChangesListSpecialPage {
        protected function getCacheTTL() {
                return 60 * 5;
        }
+
+       function getDefaultLimit() {
+               return $this->getUser()->getIntOption( 'rclimit' );
+       }
+
+       function getDefaultDays() {
+               return $this->getUser()->getIntOption( 'rcdays' );
+       }
 }