[Pkg-owncloud-commits] [owncloud] 08/83: fixes #5808
David Prévot
taffit at moszumanska.debian.org
Wed Dec 18 13:05:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 5.0
in repository owncloud.
commit b6cd2a375869186ce57e1255e664d0ccaf42a2c8
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Mon Nov 11 19:43:57 2013 +0100
fixes #5808
---
lib/files/storage/home.php | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/files/storage/home.php b/lib/files/storage/home.php
index 9521730..533fe5f 100644
--- a/lib/files/storage/home.php
+++ b/lib/files/storage/home.php
@@ -12,20 +12,20 @@ namespace OC\Files\Storage;
* Specialized version of Local storage for home directory usage
*/
class Home extends Local {
+
/**
- * @var \OC\User\User $user
+ * @var string $user
*/
protected $user;
public function __construct($arguments) {
$this->user = $arguments['user'];
- $this->datadir = $arguments['datadir'];
- if (substr($this->datadir, -1) !== '/') {
- $this->datadir .= '/';
- }
+ $datadir = $arguments['datadir'];
+
+ parent::__construct(array('datadir' => $datadir));
}
public function getId() {
return 'home::' . $this->user;
}
-}
\ No newline at end of file
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list