diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-14 23:15:16 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-14 23:15:47 +0400 |
commit | f4d3203a1459912f8989671660b7101abff3306d (patch) | |
tree | b56f04255d2aadd110e09ed0a7d6fc761224ccd4 /files_archive | |
parent | cb482ddfbdd8e1e79ad4c742be46d95d37e6403d (diff) |
Whitespace cleanup
Diffstat (limited to 'files_archive')
-rw-r--r-- | files_archive/lib/storage.php | 4 | ||||
-rw-r--r-- | files_archive/tests/storage.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/files_archive/lib/storage.php b/files_archive/lib/storage.php index fa2f1de11..b6d7fff36 100644 --- a/files_archive/lib/storage.php +++ b/files_archive/lib/storage.php @@ -16,14 +16,14 @@ class OC_Filestorage_Archive extends OC_Filestorage_Common{ private static $mounted=array(); private static $enableAutomount=true; private static $rootView; - + private function stripPath($path) {//files should never start with / if(!$path || $path[0]=='/') { $path=substr($path,1); } return $path; } - + public function __construct($params) { $this->archive=OC_Archive::open($params['archive']); $this->path=$params['archive']; diff --git a/files_archive/tests/storage.php b/files_archive/tests/storage.php index 42245f75a..c562d3ac6 100644 --- a/files_archive/tests/storage.php +++ b/files_archive/tests/storage.php @@ -11,7 +11,7 @@ class Test_Filestorage_Archive_Zip extends Test_FileStorage { * @var string tmpDir */ private $tmpFile; - + public function setUp() { $this->tmpFile=OCP\Files::tmpFile('.zip'); $this->instance=new OC_Filestorage_Archive(array('archive'=>$this->tmpFile)); |