Merged FileBackend branch. Manually avoiding merging the many prop-only changes SVN...
[lhc/web/wiklou.git] / includes / filerepo / FSRepo.php
1 <?php
2 /**
3 * A repository for files accessible via the local filesystem.
4 *
5 * @file
6 * @ingroup FileRepo
7 */
8
9 /**
10 * A repository for files accessible via the local filesystem. Does not support
11 * database access or registration.
12 * @ingroup FileRepo
13 * @deprecated since 1.19
14 */
15 class FSRepo extends FileRepo {
16 function __construct( $info ) {
17 parent::__construct( $info );
18 if ( !( $this->backend instanceof FSFileBackend ) ) {
19 throw new MWException( "FSRepo only supports FSFileBackend." );
20 }
21 }
22 }