White space.

This commit is contained in:
Thomas Tanghus 2012-08-02 19:52:51 +02:00
parent 98057dba5b
commit 578e074c00
1 changed files with 5 additions and 5 deletions

View File

@ -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();