add a explicit interface for the home storage

This commit is contained in:
Bjoern Schiessle 2014-07-01 17:29:57 +02:00
parent 08e49e9b07
commit 735eac6c9d
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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
*/

View File

@ -336,3 +336,7 @@ interface Storage {
*/
public function instanceOfStorage($class);
}
interface IHomeStorage {
}