diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-02 19:52:51 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-03 21:32:27 +0200 |
commit | 578e074c009aa9c4c0dc229b1fa3772ac58ca827 (patch) | |
tree | d05b10695080b5f87cf62a150781bdab8a4e883c /apps/contacts/ajax/uploadphoto.php | |
parent | 98057dba5b71d0a384f401608d5f57f5220a057e (diff) | |
download | nextcloud-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.php | 10 |
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(); |