summaryrefslogtreecommitdiffstats
path: root/apps/gallery/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/gallery/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/gallery/appinfo')
-rwxr-xr-xapps/gallery/appinfo/app.php2
-rw-r--r--apps/gallery/appinfo/info.xml3
-rw-r--r--apps/gallery/appinfo/version2
3 files changed, 4 insertions, 3 deletions
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php
index 333b1581ce1..878da48698a 100755
--- a/apps/gallery/appinfo/app.php
+++ b/apps/gallery/appinfo/app.php
@@ -56,5 +56,3 @@ class OC_GallerySearchProvider extends OC_Search_Provider{
OC_Search::registerProvider('OC_GallerySearchProvider');
require_once('apps/gallery/lib/hooks_handlers.php');
-OCP\CONFIG::setAppValue('core', 'public_gallery', '/apps/gallery/sharing.php');
-?>
diff --git a/apps/gallery/appinfo/info.xml b/apps/gallery/appinfo/info.xml
index 5b5ee0f731b..43a22bae077 100644
--- a/apps/gallery/appinfo/info.xml
+++ b/apps/gallery/appinfo/info.xml
@@ -8,4 +8,7 @@
<description>Dedicated pictures application</description>
<standalone/>
<default_enable/>
+ <public>
+ <gallery>sharing.php</gallery>
+ </public>
</info>
diff --git a/apps/gallery/appinfo/version b/apps/gallery/appinfo/version
index 267577d47e4..2b7c5ae0184 100644
--- a/apps/gallery/appinfo/version
+++ b/apps/gallery/appinfo/version
@@ -1 +1 @@
-0.4.1
+0.4.2