2013-01-18 16:11:29 +04:00
|
|
|
<?php
|
2014-08-31 12:05:59 +04:00
|
|
|
$l = \OC::$server->getL10N('files_trashbin');
|
2013-02-22 20:21:57 +04:00
|
|
|
|
2014-07-14 19:03:36 +04:00
|
|
|
OC::$CLASSPATH['OCA\Files_Trashbin\Exceptions\CopyRecursiveException'] = 'files_trashbin/lib/exceptions.php';
|
|
|
|
|
2013-05-23 01:50:45 +04:00
|
|
|
// register hooks
|
2013-08-18 13:02:08 +04:00
|
|
|
\OCA\Files_Trashbin\Trashbin::registerHooks();
|
2014-05-08 18:24:24 +04:00
|
|
|
|
|
|
|
\OCA\Files\App::getNavigationManager()->add(
|
2014-05-09 00:06:30 +04:00
|
|
|
array(
|
|
|
|
"id" => 'trashbin',
|
|
|
|
"appname" => 'files_trashbin',
|
2014-05-12 21:54:20 +04:00
|
|
|
"script" => 'list.php',
|
2014-05-20 13:06:09 +04:00
|
|
|
"order" => 50,
|
2014-05-09 00:06:30 +04:00
|
|
|
"name" => $l->t('Deleted files')
|
|
|
|
)
|
2014-05-08 18:24:24 +04:00
|
|
|
);
|