From a6ebb176102fcb157c529685cbaeb358950a054a Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 18 Nov 2014 16:45:55 +0100 Subject: [PATCH] Remove unused variable and make Scrutinizer happy. --- apps/files_sharing/lib/controllers/sharecontroller.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php index da0761837d..8a19269194 100644 --- a/apps/files_sharing/lib/controllers/sharecontroller.php +++ b/apps/files_sharing/lib/controllers/sharecontroller.php @@ -23,7 +23,6 @@ use OCP\AppFramework\Controller; use OCP\IRequest; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Http\RedirectResponse; -use OCP\AppFramework\IApi; use OC\URLGenerator; use OC\AppConfig; use OCP\ILogger; @@ -160,7 +159,6 @@ class ShareController extends Controller { $originalSharePath .= $path; } - $dir = dirname($originalSharePath); $file = basename($originalSharePath); $shareTmpl = array();