diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-09 19:03:03 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-09 19:03:03 +0100 |
commit | 8174e5faf18fcd762efce5ffdfabfa1102580dd5 (patch) | |
tree | 6e3533441265fbd51c168b33366cfeae57f8f963 /lib/files | |
parent | 73c44dfa1fd091f56e4cc47341fb5c38d20356bd (diff) | |
download | nextcloud-server-8174e5faf18fcd762efce5ffdfabfa1102580dd5.tar.gz nextcloud-server-8174e5faf18fcd762efce5ffdfabfa1102580dd5.zip |
make MappedLocal available and testable within Linux as well
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/storage/local.php | 4 | ||||
-rw-r--r-- | lib/files/storage/mappedlocal.php | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/files/storage/local.php b/lib/files/storage/local.php index d387a898320..038d68bf46b 100644 --- a/lib/files/storage/local.php +++ b/lib/files/storage/local.php @@ -9,7 +9,9 @@ namespace OC\Files\Storage; if (\OC_Util::runningOnWindows()) { - require_once 'mappedlocal.php'; + class Local extends MappedLocal { + + } } else { /** diff --git a/lib/files/storage/mappedlocal.php b/lib/files/storage/mappedlocal.php index 80dd79bc41f..411b053737a 100644 --- a/lib/files/storage/mappedlocal.php +++ b/lib/files/storage/mappedlocal.php @@ -10,7 +10,7 @@ namespace OC\Files\Storage; /** * for local filestore, we only have to map the paths */ -class Local extends \OC\Files\Storage\Common{ +class MappedLocal extends \OC\Files\Storage\Common{ protected $datadir; private $mapper; |