Index: trunk/phase3/includes/upload/UploadFromStash.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | } |
20 | 20 | |
21 | 21 | public static function isValidRequest( $request ) { |
22 | | - $sessionData = $request->getSessionData( 'wsUploadData' ); |
| 22 | + $sessionData = $request->getSessionData( self::SESSION_KEYNAME ); |
23 | 23 | return self::isValidSessionKey( |
24 | 24 | $request->getInt( 'wpSessionKey' ), |
25 | 25 | $sessionData |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | |
48 | 48 | public function initializeFromRequest( &$request ) { |
49 | 49 | $sessionKey = $request->getInt( 'wpSessionKey' ); |
50 | | - $sessionData = $request->getSessionData('wsUploadData'); |
| 50 | + $sessionData = $request->getSessionData( self::SESSION_KEYNAME ); |
51 | 51 | |
52 | 52 | $desiredDestName = $request->getText( 'wpDestFile' ); |
53 | 53 | if( !$desiredDestName ) |