summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-01-04 14:07:03 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-14 12:54:42 +0100
commit0724ac1e5ed83926ed9cbbb8c660b40ef1254da8 (patch)
treee68a90e2fb692ad1e2cb2f1c10163152bbbb288e /lib/private/files
parent3deb3bd16399cd7e23a02b45c66e32495dbfda0d (diff)
downloadnextcloud-server-0724ac1e5ed83926ed9cbbb8c660b40ef1254da8.tar.gz
nextcloud-server-0724ac1e5ed83926ed9cbbb8c660b40ef1254da8.zip
split locking related methods to their own interface
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/storage/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index c27f9d759f1..95bb3f74ba7 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -46,6 +46,7 @@ use OCP\Files\FileNameTooLongException;
use OCP\Files\InvalidCharacterInPathException;
use OCP\Files\InvalidPathException;
use OCP\Files\ReservedWordException;
+use OCP\Files\Storage\ILockingStorage;
use OCP\Lock\ILockingProvider;
/**
@@ -59,7 +60,7 @@ use OCP\Lock\ILockingProvider;
* Some \OC\Files\Storage\Common methods call functions which are first defined
* in classes which extend it, e.g. $this->stat() .
*/
-abstract class Common implements Storage {
+abstract class Common implements Storage, ILockingStorage {
use LocalTempFileTrait;