diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-11 20:32:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-11 20:33:56 +0200 |
commit | 736739bbbda2e9930b7bdcf79f43a28fad4d1d5d (patch) | |
tree | b77bc51d0759baeec9e5b3cc2857548a12715d13 /apps/contacts/appinfo | |
parent | d2bd78c41a58320e0f1f6ff6d602371325390747 (diff) | |
download | nextcloud-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-x | apps/contacts/appinfo/app.php | 1 | ||||
-rw-r--r-- | apps/contacts/appinfo/info.xml | 4 | ||||
-rw-r--r-- | apps/contacts/appinfo/version | 2 |
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 |