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/gallery/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/gallery/appinfo')
-rwxr-xr-x | apps/gallery/appinfo/app.php | 2 | ||||
-rw-r--r-- | apps/gallery/appinfo/info.xml | 3 | ||||
-rw-r--r-- | apps/gallery/appinfo/version | 2 |
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 |