From dba146fa3c13566fa6112aab3ec3f8899e6addc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Mon, 13 May 2019 11:45:03 +0200 Subject: [PATCH] Revert "Merge pull request #575 from Bubu/nc_16" This reverts commit 9e6673d32df1b1c651ee2eeaea4f762335f9a052, reversing changes made to 387bd3603cc50fe2cc61e3b10e6ad29788b4edb1. --- appinfo/app.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/appinfo/app.php b/appinfo/app.php index cee29ffe3..07e41ac2a 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -37,10 +37,17 @@ ]; }); +$manager = \OC::$server->getActivityManager(); +$manager->registerExtension(function() { + return new Activity( + \OC::$server->getURLGenerator() + ); +}); + /** * Loading translations * * The string has to match the app's folder name */ Util::addTranslations('passman'); -\OCP\App::registerAdmin('passman', 'templates/admin.settings'); +\OCP\App::registerAdmin('passman', 'templates/admin.settings'); \ No newline at end of file