summaryrefslogtreecommitdiffstats
path: root/apps/contacts/photo.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/photo.php')
-rw-r--r--apps/contacts/photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/photo.php b/apps/contacts/photo.php
index 298f1215e3c..cd0ae350102 100644
--- a/apps/contacts/photo.php
+++ b/apps/contacts/photo.php
@@ -9,7 +9,7 @@
*/
// Init owncloud
-require_once('../../lib/base.php');
+
OC_Util::checkLoggedIn();
OC_Util::checkAppEnabled('contacts');