summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-18 16:45:55 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-11-18 18:52:00 +0100
commita6ebb176102fcb157c529685cbaeb358950a054a (patch)
tree0af8ae82d3eeffc6fc40721709f1e4d1ee87163a /apps
parentf3ab4f3faf9c6f07c14cba406188d56a1e81b676 (diff)
downloadnextcloud-server-a6ebb176102fcb157c529685cbaeb358950a054a.tar.gz
nextcloud-server-a6ebb176102fcb157c529685cbaeb358950a054a.zip
Remove unused variable and make Scrutinizer happy.
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/controllers/sharecontroller.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php
index da0761837d8..8a192691942 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();