summaryrefslogtreecommitdiffstats
path: root/apps/user_webfinger/host-meta.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-08-10 10:01:17 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-08-10 10:01:56 +0200
commite73292339f018a5938339f0daa45e2eb78e1f879 (patch)
treea522e4d7d6c9c021bc1b757cbc335aac3ad9db68 /apps/user_webfinger/host-meta.php
parent2c5ab91c7d54332c27be6ed44c29d56503c7841e (diff)
downloadnextcloud-server-e73292339f018a5938339f0daa45e2eb78e1f879.tar.gz
nextcloud-server-e73292339f018a5938339f0daa45e2eb78e1f879.zip
Check if webfinger is enabled
Diffstat (limited to 'apps/user_webfinger/host-meta.php')
-rw-r--r--apps/user_webfinger/host-meta.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_webfinger/host-meta.php b/apps/user_webfinger/host-meta.php
index 4ac37b1ea09..6f6ac46eb91 100644
--- a/apps/user_webfinger/host-meta.php
+++ b/apps/user_webfinger/host-meta.php
@@ -1,4 +1,7 @@
<?php
+if (!OCP\App::isEnabled("user_webfinger")) {
+ return;
+}
if(class_exists('OC')){
$WEBROOT=OC::$WEBROOT;