From 61f6d0fb42f3e76fc089d875fa696cc58b5a0ee2 Mon Sep 17 00:00:00 2001 From: Alfred Egger Date: Tue, 29 Dec 2020 23:53:56 +0100 Subject: [PATCH] Remove deprecated app.php file --- appinfo/app.php | 37 ------------------------------------- appinfo/info.xml | 11 ++++++++++- 2 files changed, 10 insertions(+), 38 deletions(-) delete mode 100644 appinfo/app.php diff --git a/appinfo/app.php b/appinfo/app.php deleted file mode 100644 index 112d984..0000000 --- a/appinfo/app.php +++ /dev/null @@ -1,37 +0,0 @@ - - * @copyright Loic Blot 2014-2017 - */ - -namespace OCA\OcSms\AppInfo; - -if (class_exists('\OCP\AppFramework\App')) { - \OC::$server->getNavigationManager()->add(array( - // the string under which your app will be referenced in owncloud - 'id' => 'ocsms', - - // sorting weight for the navigation. The higher the number, the higher - // will it be listed in the navigation - 'order' => 10, - - // the route that will be shown on startup - 'href' => \OC::$server->getURLGenerator()->linkToRoute('ocsms.sms.index'), - - // the icon that will be shown in the navigation - // this file needs to exist in img/ - 'icon' => \OC::$server->getURLGenerator()->imagePath('ocsms', 'app.svg'), - - // the title of your application. This will be used in the - // navigation or on the settings page of your app - 'name' => \OCP\Util::getL10N('ocsms')->t('Phone Sync') - )); -} else { - $msg = 'Can not enable the OcSms app because the App Framework App is disabled'; - \OC::$server->getLogger()->error($msg, array('ocsms')); -} diff --git a/appinfo/info.xml b/appinfo/info.xml index b431614..69c6e68 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,9 +5,10 @@ Phone Sync An app to sync SMS with your cloud An app to sync SMS with your cloud - agpl Loic Blot + e-alfred 2.2.0 + agpl multimedia tools @@ -27,4 +28,12 @@ OCA\OcSms\Migration\FixConversationReadStates + + + ocsms + Phone Sync + ocsms.sms.index + app.svg + +