Index: trunk/phase3/includes/upload/UploadStash.php |
— | — | @@ -44,10 +44,6 @@ |
45 | 45 | |
46 | 46 | $this->repo = $repo; |
47 | 47 | |
48 | | - if ( ! isset( $_SESSION ) ) { |
49 | | - throw new UploadStashNotAvailableException( 'no session variable' ); |
50 | | - } |
51 | | - |
52 | 48 | if ( !isset( $_SESSION[UploadBase::SESSION_KEYNAME] ) ) { |
53 | 49 | $_SESSION[UploadBase::SESSION_KEYNAME] = array(); |
54 | 50 | } |