mirror of
https://github.com/nextcloud/passman.git
synced 2024-09-21 15:26:33 +08:00
40bf5cfdb6
Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
37 lines
842 B
PHP
37 lines
842 B
PHP
<?php
|
|
/**
|
|
* Nextcloud - passman
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later. See the COPYING file.
|
|
*
|
|
* @author Sander Brand <brantje@gmail.com>
|
|
* @copyright Sander Brand 2016
|
|
*/
|
|
|
|
namespace OCA\Passman\AppInfo;
|
|
|
|
|
|
use OCP\Util;
|
|
use OCP\BackgroundJob;
|
|
use OCP\App;
|
|
use OCA\Passman\Notifier;
|
|
use OCA\Passman\Activity;
|
|
require_once __DIR__ . '/autoload.php';
|
|
|
|
$app = new \OCA\Passman\AppInfo\Application();
|
|
$app->registerNavigationEntry();
|
|
$app->registerPersonalPage();
|
|
|
|
|
|
$l = \OC::$server->getL10N('passman');
|
|
$manager = \OC::$server->getNotificationManager();
|
|
$manager->registerNotifierService(Notifier::class);
|
|
/**
|
|
* Loading translations
|
|
*
|
|
* The string has to match the app's folder name
|
|
*/
|
|
Util::addTranslations('passman');
|
|
\OCP\App::registerAdmin('passman', 'templates/admin.settings');
|