summaryrefslogtreecommitdiffstats
path: root/apps/contacts/photo.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-17 19:31:29 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-17 19:31:29 +0200
commit69ee0efc0b355c33ec566cffb36c4b0dc429c338 (patch)
tree50f96da78b34007f47d6de10bdf47f35704d96a8 /apps/contacts/photo.php
parent12818093007d5bdce5519b5015e2a0748c98e24d (diff)
downloadnextcloud-server-69ee0efc0b355c33ec566cffb36c4b0dc429c338.tar.gz
nextcloud-server-69ee0efc0b355c33ec566cffb36c4b0dc429c338.zip
remove the require_once lib base from all (or nearly all) files
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');