mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-05-07 04:34:09 +02:00
Replace killme() by exit()
This commit is contained in:
parent
9845edb8d9
commit
aa5fbb4994
7 changed files with 19 additions and 19 deletions
|
@ -162,7 +162,7 @@ function js_upload_post_init(&$a,&$b) {
|
|||
if(isset($result['error'])) {
|
||||
Logger::log('mod/photos.php: photos_post(): error uploading photo: ' . $result['error'] , Logger::DEBUG);
|
||||
echo json_encode($result);
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
$a->data['upload_result'] = $result;
|
||||
|
@ -185,7 +185,7 @@ function js_upload_post_end(&$a,&$b) {
|
|||
Logger::log('upload_post_end');
|
||||
if(!empty($a->data['upload_jsonresponse'])) {
|
||||
echo $a->data['upload_jsonresponse'];
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue