Index: branches/wmf/1.17wmf1/includes/upload/UploadFromStash.php |
— | — | @@ -101,10 +101,10 @@ |
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
105 | | - * Alias for stashFile |
| 105 | + * This should return the key instead of the UploadStashFile instance, for backward compatibility. |
106 | 106 | */ |
107 | 107 | public function stashSession() { |
108 | | - return $this->stashFile(); |
| 108 | + return $this->stashFile()->getFileKey(); |
109 | 109 | } |
110 | 110 | |
111 | 111 | /** |