summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/cropphoto.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-06 00:26:21 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-06 01:06:13 +0200
commit68670bcc66603540e39c055b8fe8c6a75055b5b0 (patch)
tree6341deb5fa16e0f70aa48e016e6eb51919398937 /apps/contacts/ajax/cropphoto.php
parent624f8ae36dc7f61db07da30644e2ca88b0a0de5e (diff)
downloadnextcloud-server-68670bcc66603540e39c055b8fe8c6a75055b5b0.tar.gz
nextcloud-server-68670bcc66603540e39c055b8fe8c6a75055b5b0.zip
Cleanup.
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);