White space.
This commit is contained in:
parent
98057dba5b
commit
578e074c00
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue