Index: trunk/phase3/includes/specials/SpecialUploadStash.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | // uploading. |
38 | 38 | const MAX_SERVE_BYTES = 262144; // 256K |
39 | 39 | |
40 | | - public function __construct( $request = null ) { |
| 40 | + public function __construct() { |
41 | 41 | global $wgRequest; |
42 | 42 | |
43 | 43 | parent::__construct( 'UploadStash', 'upload' ); |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | return null; |
48 | 48 | } |
49 | 49 | |
50 | | - $this->loadRequest( is_null( $request ) ? $wgRequest : $request ); |
| 50 | + $this->loadRequest( $wgRequest ); |
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |