Remove unused variable and make Scrutinizer happy.

This commit is contained in:
Lukas Reschke 2014-11-18 16:45:55 +01:00 committed by Morris Jobke
parent f3ab4f3faf
commit a6ebb17610
1 changed files with 0 additions and 2 deletions

View File

@ -23,7 +23,6 @@ use OCP\AppFramework\Controller;
use OCP\IRequest; use OCP\IRequest;
use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Http\RedirectResponse; use OCP\AppFramework\Http\RedirectResponse;
use OCP\AppFramework\IApi;
use OC\URLGenerator; use OC\URLGenerator;
use OC\AppConfig; use OC\AppConfig;
use OCP\ILogger; use OCP\ILogger;
@ -160,7 +159,6 @@ class ShareController extends Controller {
$originalSharePath .= $path; $originalSharePath .= $path;
} }
$dir = dirname($originalSharePath);
$file = basename($originalSharePath); $file = basename($originalSharePath);
$shareTmpl = array(); $shareTmpl = array();