summaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-05 22:54:14 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-05 22:54:14 +0200
commitc996600786080c54ba853ac8311fafdd3e814e78 (patch)
treefac953a1e831f5305690be1dd5ac814b83daa726 /apps/contacts/appinfo
parent6c2fc0cbe853027e265fdf9f1b05b75c5f92c187 (diff)
downloadnextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.tar.gz
nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.zip
push changes
Diffstat (limited to 'apps/contacts/appinfo')
-rwxr-xr-xapps/contacts/appinfo/app.php4
-rwxr-xr-xapps/contacts/appinfo/remote.php3
2 files changed, 1 insertions, 6 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php
index c8c1d779dae..216e89d5c09 100755
--- a/apps/contacts/appinfo/app.php
+++ b/apps/contacts/appinfo/app.php
@@ -25,6 +25,4 @@ OCP\App::addNavigationEntry( array(
OCP\App::registerPersonal('contacts','settings');
OCP\Util::addscript('contacts', 'loader');
OC_Search::registerProvider('OC_Search_Provider_Contacts');
-if(!file_exists(OC::$SERVERROOT.'/remote/carddav.php')){
- file_put_contents(OC::$SERVERROOT.'/remote/carddav.php', file_get_contents(OC::$APPSROOT . '/apps/contacts/appinfo/remote.php'));
-} \ No newline at end of file
+OCP\CONFIG::setAppValue('core', 'carddav', '/apps/contacts/appinfo/remote.php'); \ No newline at end of file
diff --git a/apps/contacts/appinfo/remote.php b/apps/contacts/appinfo/remote.php
index 804c560e3d0..13b90745ae7 100755
--- a/apps/contacts/appinfo/remote.php
+++ b/apps/contacts/appinfo/remote.php
@@ -19,9 +19,6 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
-// Do not load FS ...
-$RUNTIME_NOSETUPFS = true;
-require_once('../lib/base.php');
OCP\App::checkAppEnabled('contacts');