Index: branches/robchurch/pr_timestamp/includes/SpecialProtectedpages.php |
— | — | @@ -7,9 +7,6 @@ |
8 | 8 | */ |
9 | 9 | class SpecialProtectedPages extends SpecialPage { |
10 | 10 | |
11 | | - protected $IdLevel = 'level'; |
12 | | - protected $IdType = 'type'; |
13 | | - |
14 | 11 | /** |
15 | 12 | * Constructor |
16 | 13 | */ |
— | — | @@ -39,8 +36,8 @@ |
40 | 37 | Title::purgeExpiredRestrictions(); |
41 | 38 | } |
42 | 39 | |
43 | | - $type = $wgRequest->getVal( $this->IdType ); |
44 | | - $level = $wgRequest->getVal( $this->IdLevel ); |
| 40 | + $type = $wgRequest->getVal( 'type' ); |
| 41 | + $level = $wgRequest->getVal( 'level' ); |
45 | 42 | $sizetype = $wgRequest->getVal( 'sizetype' ); |
46 | 43 | $size = $wgRequest->getIntOrNull( 'size' ); |
47 | 44 | $NS = $wgRequest->getIntOrNull( 'namespace' ); |