summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-29 13:43:05 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-29 14:53:59 +0100
commiteca9db6bba45a4131f1e8ad6d497c58420abfb96 (patch)
tree76503c8650e2a2fc81455d6086000c7668385828 /appinfo
parenteae79b7430a88d5622b8ea88cbc73a07c042dddf (diff)
THIS IS CONTACTS!
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php12
-rw-r--r--appinfo/info.xml3
-rw-r--r--appinfo/routes.php6
3 files changed, 10 insertions, 11 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 10e59162..49f83da9 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -1,6 +1,6 @@
<?php
/**
- * ownCloud - contactsrework
+ * ownCloud - contacts
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
@@ -9,11 +9,11 @@
* @copyright Hendrik Leppelsack 2015
*/
-namespace OCA\ContactsRework\AppInfo;
+namespace OCA\Contacts\AppInfo;
use OCP\AppFramework\App;
-$app = new App('contactsrework');
+$app = new App('contacts');
$container = $app->getContainer();
$container->query('OCP\INavigationManager')->add(function () use ($container) {
@@ -21,18 +21,18 @@ $container->query('OCP\INavigationManager')->add(function () use ($container) {
$l10n = $container->query('OCP\IL10N');
return [
// the string under which your app will be referenced in owncloud
- 'id' => 'contactsrework',
+ 'id' => 'contacts',
// 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' => $urlGenerator->linkToRoute('contactsrework.page.index'),
+ 'href' => $urlGenerator->linkToRoute('contacts.page.index'),
// the icon that will be shown in the navigation
// this file needs to exist in img/
- 'icon' => $urlGenerator->imagePath('contactsrework', 'app.svg'),
+ 'icon' => $urlGenerator->imagePath('contacts', 'app.svg'),
// the title of your application. This will be used in the
// navigation or on the settings page of your app
diff --git a/appinfo/info.xml b/appinfo/info.xml
index bfe60cc6..dc0b54b3 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -1,12 +1,11 @@
<?xml version="1.0"?>
<info>
- <id>contactsrework</id>
+ <id>contacts</id>
<name>Contacts</name>
<description>The new and improved app for your Contacts.</description>
<licence>AGPL</licence>
<author>Hendrik Leppelsack</author>
<version>0.0.1</version>
- <namespace>ContactsRework</namespace>
<category>other</category>
<dependencies>
<owncloud min-version="9.0" max-version="9.0" />
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 5998bf47..edea0e49 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,6 +1,6 @@
<?php
/**
- * ownCloud - contactsrework
+ * ownCloud - contacts
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
@@ -12,7 +12,7 @@
/**
* Create your routes in here. The name is the lowercase name of the controller
* without the controller part, the stuff after the hash is the method.
- * e.g. page#index -> OCA\ContactsRework\Controller\PageController->index()
+ * e.g. page#index -> OCA\Contacts\Controller\PageController->index()
*
* The controller class has to be registered in the application.php file since
* it's instantiated in there
@@ -22,4 +22,4 @@ return [
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#do_echo', 'url' => '/echo', 'verb' => 'POST'],
]
-]; \ No newline at end of file
+];