Skip to content
Snippets Groups Projects
Commit 207d77e5 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fixed small code style issues

parent 976baed5
No related merge requests found
......@@ -19,6 +19,11 @@ use OCA\Files\Service\TagService;
class ApiController extends Controller {
/**
* @var TagService $tagService
*/
private $tagService;
public function __construct($appName, IRequest $request, TagService $tagService){
parent::__construct($appName, $request);
$this->tagService = $tagService;
......
......@@ -90,11 +90,11 @@ function sortNavigationItems($item1, $item2) {
\OCA\Files\App::getNavigationManager()->add(
array(
"id" => 'favorites',
"appname" => 'files',
"script" => 'simplelist.php',
"order" => 50,
"name" => $l->t('Favorites')
'id' => 'favorites',
'appname' => 'files',
'script' => 'simplelist.php',
'order' => 50,
'name' => $l->t('Favorites')
)
);
......
......@@ -21,8 +21,7 @@
*
*/
// Check if we are a user
OCP\User::checkLoggedIn();
// TODO: move to handlebars
// renders the controls and table headers template
$tmpl = new OCP\Template('files', 'simplelist', '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment