fixes Bug 25812
authorMark A. Hershberger <mah@users.mediawiki.org>
Thu, 11 Nov 2010 04:50:24 +0000 (04:50 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Thu, 11 Nov 2010 04:50:24 +0000 (04:50 +0000)
includes/upload/UploadStash.php

index 15e3288..fe5a30d 100644 (file)
@@ -44,10 +44,6 @@ class UploadStash {
 
                $this->repo = $repo;
 
-               if ( ! isset( $_SESSION ) ) {
-                       throw new UploadStashNotAvailableException( 'no session variable' );
-               }
-
                if ( !isset( $_SESSION[UploadBase::SESSION_KEYNAME] ) ) {
                        $_SESSION[UploadBase::SESSION_KEYNAME] = array();
                }