diff options
Diffstat (limited to 'core/Command/User/Info.php')
-rw-r--r-- | core/Command/User/Info.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/User/Info.php b/core/Command/User/Info.php index 6487b533fa2..220bbbf571d 100644 --- a/core/Command/User/Info.php +++ b/core/Command/User/Info.php @@ -6,6 +6,7 @@ namespace OC\Core\Command\User; use OC\Core\Command\Base; +use OCP\Files\NotFoundException; use OCP\IGroupManager; use OCP\IUser; use OCP\IUserManager; @@ -84,7 +85,7 @@ class Info extends Base { \OC_Util::setupFS($user->getUID()); try { $storage = \OC_Helper::getStorageInfo('/'); - } catch (\OCP\Files\NotFoundException $e) { + } catch (NotFoundException $e) { return []; } return [ |