summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/cropphoto.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/cropphoto.php')
-rw-r--r--apps/contacts/ajax/cropphoto.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/contacts/ajax/cropphoto.php b/apps/contacts/ajax/cropphoto.php
index 63c9eb8f2d3..caba7c8c4ef 100644
--- a/apps/contacts/ajax/cropphoto.php
+++ b/apps/contacts/ajax/cropphoto.php
@@ -20,16 +20,12 @@
*
*/
-// Init owncloud
-
-
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
$tmpkey = $_GET['tmpkey'];
$id = $_GET['id'];
-//OCP\Util::writeLog('contacts','ajax/cropphoto.php: tmpkey: '.$tmpkey.', exists: '.file_exists($tmp_path), OCP\Util::DEBUG);
$tmpl = new OCP\Template("contacts", "part.cropphoto");
$tmpl->assign('tmpkey', $tmpkey);
$tmpl->assign('id', $id);