Skip to content

Commit

Permalink
Remove unused variable and make Scrutinizer happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke authored and MorrisJobke committed Nov 18, 2014
1 parent f3ab4f3 commit a6ebb17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/files_sharing/lib/controllers/sharecontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
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;
Expand Down Expand Up @@ -160,7 +159,6 @@ public function showShare($token, $path = '') {
$originalSharePath .= $path;
}

$dir = dirname($originalSharePath);
$file = basename($originalSharePath);

$shareTmpl = array();
Expand Down

0 comments on commit a6ebb17

Please sign in to comment.