diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-08-10 10:01:17 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-08-10 10:01:56 +0200 |
commit | e73292339f018a5938339f0daa45e2eb78e1f879 (patch) | |
tree | a522e4d7d6c9c021bc1b757cbc335aac3ad9db68 /apps/user_webfinger/host-meta.php | |
parent | 2c5ab91c7d54332c27be6ed44c29d56503c7841e (diff) | |
download | nextcloud-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.php | 3 |
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; |