Index: branches/uploadwizard/phase3/includes/upload/SessionStash.php |
— | — | @@ -36,14 +36,10 @@ |
37 | 37 | $repo = RepoGroup::singleton()->getLocalRepo(); |
38 | 38 | } |
39 | 39 | |
40 | | - // sanity check repo. If we want to mock the repo later this should be modified. |
41 | | - if ( ! is_dir( $repo->getZonePath( 'temp' ) ) ) { |
42 | | - throw new SessionStashNotAvailableException(); |
43 | | - } |
44 | 40 | $this->repo = $repo; |
45 | 41 | |
46 | 42 | if ( ! isset( $_SESSION ) ) { |
47 | | - throw new SessionStashNotAvailableException(); |
| 43 | + throw new SessionStashNotAvailableException( 'no session var' ); |
48 | 44 | } |
49 | 45 | |
50 | 46 | if ( !isset( $_SESSION[UploadBase::SESSION_KEYNAME] ) ) { |