summaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-11 20:32:37 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-11 20:33:56 +0200
commit736739bbbda2e9930b7bdcf79f43a28fad4d1d5d (patch)
treeb77bc51d0759baeec9e5b3cc2857548a12715d13 /apps/contacts/appinfo
parentd2bd78c41a58320e0f1f6ff6d602371325390747 (diff)
downloadnextcloud-server-736739bbbda2e9930b7bdcf79f43a28fad4d1d5d.tar.gz
nextcloud-server-736739bbbda2e9930b7bdcf79f43a28fad4d1d5d.zip
load remote and public paths from info.xml during upgrade instead of setting them every time
Diffstat (limited to 'apps/contacts/appinfo')
-rwxr-xr-xapps/contacts/appinfo/app.php1
-rw-r--r--apps/contacts/appinfo/info.xml4
-rw-r--r--apps/contacts/appinfo/version2
3 files changed, 5 insertions, 2 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php
index 7e196733064..e5e1d572f2d 100755
--- a/apps/contacts/appinfo/app.php
+++ b/apps/contacts/appinfo/app.php
@@ -25,4 +25,3 @@ OCP\App::addNavigationEntry( array(
OCP\App::registerPersonal('contacts','settings');
OCP\Util::addscript('contacts', 'loader');
OC_Search::registerProvider('OC_Search_Provider_Contacts');
-OCP\CONFIG::setAppValue('core', 'remote_carddav', '/apps/contacts/appinfo/remote.php'); \ No newline at end of file
diff --git a/apps/contacts/appinfo/info.xml b/apps/contacts/appinfo/info.xml
index 4d2fe383723..86692d65b4f 100644
--- a/apps/contacts/appinfo/info.xml
+++ b/apps/contacts/appinfo/info.xml
@@ -8,4 +8,8 @@
<description>Address book with CardDAV support.</description>
<standalone/>
<default_enable/>
+ <remote>
+ <contacts>appinfo/remote.php</contacts>
+ <carddav>appinfo/remote.php</carddav>
+ </remote>
</info>
diff --git a/apps/contacts/appinfo/version b/apps/contacts/appinfo/version
index ceab6e11ece..2f4536184bc 100644
--- a/apps/contacts/appinfo/version
+++ b/apps/contacts/appinfo/version
@@ -1 +1 @@
-0.1 \ No newline at end of file
+0.2 \ No newline at end of file