diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-07-01 17:29:57 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-07-01 17:31:33 +0200 |
commit | 735eac6c9dbdcae80c46d3f680fbb7e86a2e2432 (patch) | |
tree | 1023620d3a23ef8b270fe50bcff73655ac2eec3d /lib | |
parent | 08e49e9b074e0aa35f22a2f5bd94aeed83e77995 (diff) | |
download | nextcloud-server-735eac6c9dbdcae80c46d3f680fbb7e86a2e2432.tar.gz nextcloud-server-735eac6c9dbdcae80c46d3f680fbb7e86a2e2432.zip |
add a explicit interface for the home storage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/objectstore/homeobjectstorestorage.php | 2 | ||||
-rw-r--r-- | lib/private/files/storage/home.php | 2 | ||||
-rw-r--r-- | lib/public/files/storage.php | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/lib/private/files/objectstore/homeobjectstorestorage.php b/lib/private/files/objectstore/homeobjectstorestorage.php index 26a2788d860..947fc496b20 100644 --- a/lib/private/files/objectstore/homeobjectstorestorage.php +++ b/lib/private/files/objectstore/homeobjectstorestorage.php @@ -22,7 +22,7 @@ namespace OC\Files\ObjectStore; use OC\User\User; -class HomeObjectStoreStorage extends ObjectStoreStorage { +class HomeObjectStoreStorage extends ObjectStoreStorage implements \OCP\Files\IHomeStorage { /** * The home user storage requires a user object to create a unique storage id diff --git a/lib/private/files/storage/home.php b/lib/private/files/storage/home.php index 214deede620..015b1f01885 100644 --- a/lib/private/files/storage/home.php +++ b/lib/private/files/storage/home.php @@ -11,7 +11,7 @@ namespace OC\Files\Storage; /** * Specialized version of Local storage for home directory usage */ -class Home extends Local { +class Home extends Local implements \OCP\Files\IHomeStorage { /** * @var string */ diff --git a/lib/public/files/storage.php b/lib/public/files/storage.php index 323d20db564..8f8d7852ee4 100644 --- a/lib/public/files/storage.php +++ b/lib/public/files/storage.php @@ -336,3 +336,7 @@ interface Storage { */ public function instanceOfStorage($class); } + +interface IHomeStorage { + +} |