summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/uploadphoto.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-02 19:52:51 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-03 21:32:27 +0200
commit578e074c009aa9c4c0dc229b1fa3772ac58ca827 (patch)
treed05b10695080b5f87cf62a150781bdab8a4e883c /apps/contacts/ajax/uploadphoto.php
parent98057dba5b71d0a384f401608d5f57f5220a057e (diff)
downloadnextcloud-server-578e074c009aa9c4c0dc229b1fa3772ac58ca827.tar.gz
nextcloud-server-578e074c009aa9c4c0dc229b1fa3772ac58ca827.zip
White space.
Diffstat (limited to 'apps/contacts/ajax/uploadphoto.php')
-rw-r--r--apps/contacts/ajax/uploadphoto.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/contacts/ajax/uploadphoto.php b/apps/contacts/ajax/uploadphoto.php
index 4cd38db8c72..7ec82603b4a 100644
--- a/apps/contacts/ajax/uploadphoto.php
+++ b/apps/contacts/ajax/uploadphoto.php
@@ -50,9 +50,9 @@ if ($fn) {
if(OC_Cache::set($tmpkey, $image->data(), 600)) {
OCP\JSON::success(array(
'data' => array(
- 'mime'=>$_SERVER['CONTENT_TYPE'],
- 'name'=>$fn,
- 'id'=>$id,
+ 'mime'=>$_SERVER['CONTENT_TYPE'],
+ 'name'=>$fn,
+ 'id'=>$id,
'tmp'=>$tmpkey)));
exit();
} else {
@@ -100,8 +100,8 @@ if(file_exists($file['tmp_name'])) {
'data' => array(
'mime'=>$file['type'],
'size'=>$file['size'],
- 'name'=>$file['name'],
- 'id'=>$_POST['id'],
+ 'name'=>$file['name'],
+ 'id'=>$_POST['id'],
'tmp'=>$tmpkey,
)));
exit();