summaryrefslogtreecommitdiffstats
path: root/lib/private/Lockdown/Filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Lockdown/Filesystem')
-rw-r--r--lib/private/Lockdown/Filesystem/NullStorage.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Lockdown/Filesystem/NullStorage.php b/lib/private/Lockdown/Filesystem/NullStorage.php
index ea911b90064..831d8a8b2a0 100644
--- a/lib/private/Lockdown/Filesystem/NullStorage.php
+++ b/lib/private/Lockdown/Filesystem/NullStorage.php
@@ -22,6 +22,7 @@ namespace OC\Lockdown\Filesystem;
use Icewind\Streams\IteratorDirectory;
use OC\Files\FileInfo;
use OC\Files\Storage\Common;
+use OCP\Files\Storage\IStorage;
class NullStorage extends Common {
public function __construct($parameters) {
@@ -156,11 +157,11 @@ class NullStorage extends Common {
return false;
}
- public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) {
+ public function copyFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath) {
throw new \OC\ForbiddenException('This request is not allowed to access the filesystem');
}
- public function moveFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) {
+ public function moveFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath) {
throw new \OC\ForbiddenException('This request is not allowed to access the filesystem');
}