summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/loadphoto.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/loadphoto.php')
-rw-r--r--apps/contacts/ajax/loadphoto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/loadphoto.php b/apps/contacts/ajax/loadphoto.php
index 2c8bb7bf1ed..669f9e2844d 100644
--- a/apps/contacts/ajax/loadphoto.php
+++ b/apps/contacts/ajax/loadphoto.php
@@ -20,7 +20,7 @@
*
*/
// Init owncloud
-require_once('../../../lib/base.php');
+
// Check if we are a user
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('contacts');