Index: trunk/extensions/FirefoggChunkedUpload/FirefoggChunkedUploadHandler.php |
— | — | @@ -38,19 +38,19 @@ |
39 | 39 | foreach ( array( 'mFilteredName', 'repoPath', 'mFileSize', 'mDesiredDestName' ) |
40 | 40 | as $key ) { |
41 | 41 | if ( isset( $this->$key ) ) { |
42 | | - $_SESSION[self::SESSION_KEYNAME][$this->sessionKey][$key] = $this->$key; |
| 42 | + $_SESSION[UploadBase::SESSION_KEYNAME][$this->sessionKey][$key] = $this->$key; |
43 | 43 | } |
44 | 44 | } |
45 | 45 | if ( isset( $comment ) ) { |
46 | | - $_SESSION[self::SESSION_KEYNAME][$this->sessionKey]['commment'] = $comment; |
| 46 | + $_SESSION[UploadBase::SESSION_KEYNAME][$this->sessionKey]['commment'] = $comment; |
47 | 47 | } |
48 | 48 | if ( isset( $pageText ) ) { |
49 | | - $_SESSION[self::SESSION_KEYNAME][$this->sessionKey]['pageText'] = $pageText; |
| 49 | + $_SESSION[UploadBase::SESSION_KEYNAME][$this->sessionKey]['pageText'] = $pageText; |
50 | 50 | } |
51 | 51 | if ( isset( $watchlist ) ) { |
52 | | - $_SESSION[self::SESSION_KEYNAME][$this->sessionKey]['watchlist'] = $watchlist; |
| 52 | + $_SESSION[UploadBase::SESSION_KEYNAME][$this->sessionKey]['watchlist'] = $watchlist; |
53 | 53 | } |
54 | | - $_SESSION[self::SESSION_KEYNAME][$this->sessionKey]['version'] = self::SESSION_VERSION; |
| 54 | + $_SESSION[UploadBase::SESSION_KEYNAME][$this->sessionKey]['version'] = UploadBase::SESSION_VERSION; |
55 | 55 | |
56 | 56 | return $this->sessionKey; |
57 | 57 | } |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | $this->sessionKey = $sessionKey; |
110 | 110 | |
111 | 111 | if ( isset( $sessionData[$this->sessionKey]['version'] ) |
112 | | - && $sessionData[$this->sessionKey]['version'] == self::SESSION_VERSION ) |
| 112 | + && $sessionData[$this->sessionKey]['version'] == UploadBase::SESSION_VERSION ) |
113 | 113 | { |
114 | 114 | foreach ( array( 'comment', 'pageText', 'watchlist', 'mFilteredName', 'repoPath', 'mFileSize', 'mDesiredDestName' ) |
115 | 115 | as $key ) { |
— | — | @@ -138,7 +138,7 @@ |
139 | 139 | |
140 | 140 | if ( $this->status->isOK() ) { |
141 | 141 | $this->repoPath = $this->status->value; |
142 | | - $_SESSION[self::SESSION_KEYNAME][$this->sessionKey]['repoPath'] = $this->repoPath; |
| 142 | + $_SESSION[UploadBase::SESSION_KEYNAME][$this->sessionKey]['repoPath'] = $this->repoPath; |
143 | 143 | } |
144 | 144 | return $this->status; |
145 | 145 | } |