summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-22 18:13:48 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-04-22 19:23:31 -0500
commitc54a59d51eb924e77df6f6d2bb79ea466d169221 (patch)
tree8fc2dfae3b3aeccba85250173cafe7340ab0798d /lib/private/Files
parenteaa6f766e694f08e899c9469f668135c5d7b0c34 (diff)
downloadnextcloud-server-c54a59d51eb924e77df6f6d2bb79ea466d169221.tar.gz
nextcloud-server-c54a59d51eb924e77df6f6d2bb79ea466d169221.zip
Remove unused use statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/Cache/Scanner.php1
-rw-r--r--lib/private/Files/Cache/StorageGlobal.php1
-rw-r--r--lib/private/Files/Config/LazyStorageMountInfo.php3
-rw-r--r--lib/private/Files/Config/UserMountCache.php3
-rw-r--r--lib/private/Files/FileInfo.php2
-rw-r--r--lib/private/Files/Filesystem.php1
-rw-r--r--lib/private/Files/Node/LazyRoot.php2
-rw-r--r--lib/private/Files/ObjectStore/Swift.php1
-rw-r--r--lib/private/Files/Storage/DAV.php2
-rw-r--r--lib/private/Files/Type/Loader.php1
-rw-r--r--lib/private/Files/View.php2
11 files changed, 0 insertions, 19 deletions
diff --git a/lib/private/Files/Cache/Scanner.php b/lib/private/Files/Cache/Scanner.php
index e65c01559f0..fe25da6d09a 100644
--- a/lib/private/Files/Cache/Scanner.php
+++ b/lib/private/Files/Cache/Scanner.php
@@ -40,7 +40,6 @@ use OC\Hooks\BasicEmitter;
use OCP\Config;
use OCP\Files\Cache\IScanner;
use OCP\Files\ForbiddenException;
-use OCP\Files\Storage\ILockingStorage;
use OCP\Lock\ILockingProvider;
/**
diff --git a/lib/private/Files/Cache/StorageGlobal.php b/lib/private/Files/Cache/StorageGlobal.php
index 791835baccc..81cd075cefe 100644
--- a/lib/private/Files/Cache/StorageGlobal.php
+++ b/lib/private/Files/Cache/StorageGlobal.php
@@ -21,7 +21,6 @@
namespace OC\Files\Cache;
use OCP\DB\QueryBuilder\IQueryBuilder;
-use OCP\Files\Mount\IMountPoint;
use OCP\IDBConnection;
/**
diff --git a/lib/private/Files/Config/LazyStorageMountInfo.php b/lib/private/Files/Config/LazyStorageMountInfo.php
index 40d463c5103..e72eacf330d 100644
--- a/lib/private/Files/Config/LazyStorageMountInfo.php
+++ b/lib/private/Files/Config/LazyStorageMountInfo.php
@@ -22,10 +22,7 @@
namespace OC\Files\Config;
-use OC\Files\Filesystem;
-use OCP\Files\Config\ICachedMountInfo;
use OCP\Files\Mount\IMountPoint;
-use OCP\Files\Node;
use OCP\IUser;
class LazyStorageMountInfo extends CachedMountInfo {
diff --git a/lib/private/Files/Config/UserMountCache.php b/lib/private/Files/Config/UserMountCache.php
index 5cbdfaa9d82..6ec78e4d81c 100644
--- a/lib/private/Files/Config/UserMountCache.php
+++ b/lib/private/Files/Config/UserMountCache.php
@@ -24,14 +24,11 @@
namespace OC\Files\Config;
-use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
-use OC\Files\Filesystem;
use OCA\Files_Sharing\SharedMount;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\Files\Config\ICachedMountInfo;
use OCP\Files\Config\IUserMountCache;
use OCP\Files\Mount\IMountPoint;
-use OCP\Files\Node;
use OCP\Files\NotFoundException;
use OCP\ICache;
use OCP\IDBConnection;
diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php
index 8e968ca453d..e1b5bf983ce 100644
--- a/lib/private/Files/FileInfo.php
+++ b/lib/private/Files/FileInfo.php
@@ -32,8 +32,6 @@ namespace OC\Files;
use OCP\Files\Cache\ICacheEntry;
use OCP\Files\Mount\IMountPoint;
-use OCP\Files\Storage\IStorage;
-use OCP\Files\IHomeStorage;
use OCP\IUser;
class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php
index 22b14e44074..0ebf23818b4 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -64,7 +64,6 @@ use OC\Files\Mount\MountPoint;
use OC\Files\Storage\StorageFactory;
use OC\Lockdown\Filesystem\NullStorage;
use OCP\Files\Config\IMountProvider;
-use OCP\Files\Mount\IMountPoint;
use OCP\Files\NotFoundException;
use OCP\IUserManager;
diff --git a/lib/private/Files/Node/LazyRoot.php b/lib/private/Files/Node/LazyRoot.php
index 1fb3f6448bc..ae7623d0ed9 100644
--- a/lib/private/Files/Node/LazyRoot.php
+++ b/lib/private/Files/Node/LazyRoot.php
@@ -21,9 +21,7 @@
*/
namespace OC\Files\Node;
-use OC\Files\Mount\MountPoint;
use OCP\Files\IRootFolder;
-use OCP\Files\NotPermittedException;
/**
* Class LazyRoot
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php
index 38fb96e3af6..8b64fd66de0 100644
--- a/lib/private/Files/ObjectStore/Swift.php
+++ b/lib/private/Files/ObjectStore/Swift.php
@@ -28,7 +28,6 @@ use Guzzle\Http\Exception\ClientErrorResponseException;
use OCP\Files\ObjectStore\IObjectStore;
use OCP\Files\StorageAuthException;
use OCP\Files\StorageNotAvailableException;
-use OpenCloud\Common\Exceptions\EndpointError;
use OpenCloud\Common\Service\Catalog;
use OpenCloud\Common\Service\CatalogItem;
use OpenCloud\Identity\Resource\Token;
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index 73cf137181a..223f270bc45 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -38,12 +38,10 @@ use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Message\ResponseInterface;
use Icewind\Streams\CallbackWrapper;
use OC\Files\Filesystem;
-use OC\Files\Stream\Close;
use Icewind\Streams\IteratorDirectory;
use OC\MemCache\ArrayCache;
use OCP\AppFramework\Http;
use OCP\Constants;
-use OCP\Files;
use OCP\Files\FileInfo;
use OCP\Files\StorageInvalidException;
use OCP\Files\StorageNotAvailableException;
diff --git a/lib/private/Files/Type/Loader.php b/lib/private/Files/Type/Loader.php
index d1f447d8081..4dd798e7b07 100644
--- a/lib/private/Files/Type/Loader.php
+++ b/lib/private/Files/Type/Loader.php
@@ -24,7 +24,6 @@ namespace OC\Files\Type;
use OCP\Files\IMimeTypeLoader;
use OCP\IDBConnection;
-
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
/**
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 85c70a1015e..70b74a8242e 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -61,8 +61,6 @@ use OCP\Files\InvalidPathException;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\NotFoundException;
use OCP\Files\ReservedWordException;
-use OCP\Files\UnseekableException;
-use OCP\Files\Storage\ILockingStorage;
use OCP\IUser;
use OCP\Lock\ILockingProvider;
use OCP\Lock\LockedException;