diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 22:54:14 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 22:54:14 +0200 |
commit | c996600786080c54ba853ac8311fafdd3e814e78 (patch) | |
tree | fac953a1e831f5305690be1dd5ac814b83daa726 /apps/contacts/appinfo | |
parent | 6c2fc0cbe853027e265fdf9f1b05b75c5f92c187 (diff) | |
download | nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.tar.gz nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.zip |
push changes
Diffstat (limited to 'apps/contacts/appinfo')
-rwxr-xr-x | apps/contacts/appinfo/app.php | 4 | ||||
-rwxr-xr-x | apps/contacts/appinfo/remote.php | 3 |
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'); |