aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/appinfo/app.php')
-rw-r--r--apps/files_trashbin/appinfo/app.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/files_trashbin/appinfo/app.php b/apps/files_trashbin/appinfo/app.php
index d30a601ef56..a045b1f0f51 100644
--- a/apps/files_trashbin/appinfo/app.php
+++ b/apps/files_trashbin/appinfo/app.php
@@ -1,7 +1,14 @@
<?php
-
-//OC::$CLASSPATH['OCA\Files_Trashbin\Hooks'] = 'files_trashbin/lib/hooks.php';
-//OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'files_trashbin/lib/trash.php';
+$l = OC_L10N::get('files_trashbin');
// register hooks
\OCA\Files_Trashbin\Trashbin::registerHooks();
+
+\OCA\Files\App::getNavigationManager()->add(
+ array(
+ "appname" => 'files_trashbin',
+ "script" => 'index.php',
+ "order" => 1,
+ "name" => $l->t('Deleted files')
+ )
+);