Merge branch 'develop' into release-candidate
This commit is contained in:
commit
518be1b854
2 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||||
SET `status` = "' . $_PUT['wish_status'] . '"
|
SET `status` = "' . $_PUT['wish_status'] . '"
|
||||||
WHERE `id` = ' . $_PUT['wish_id'] . '
|
WHERE `id` = ' . $_PUT['wish_id'] . '
|
||||||
;');
|
;');
|
||||||
|
|
||||||
|
$response['success'] = true;
|
||||||
} elseif (isset($_PUT['wish_url_current'], $_PUT['wish_url_proposed'])) {
|
} elseif (isset($_PUT['wish_url_current'], $_PUT['wish_url_proposed'])) {
|
||||||
/**
|
/**
|
||||||
* Update Wish URL
|
* Update Wish URL
|
||||||
|
@ -98,6 +100,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||||
SET `url` = "' . $_PUT['wish_url_proposed'] . '"
|
SET `url` = "' . $_PUT['wish_url_proposed'] . '"
|
||||||
WHERE `url` = "' . $_PUT['wish_url_current'] . '"
|
WHERE `url` = "' . $_PUT['wish_url_current'] . '"
|
||||||
;');
|
;');
|
||||||
|
|
||||||
|
$response['success'] = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||||
WHERE `id` = ' . $_PUT['wishlist_id'] . '
|
WHERE `id` = ' . $_PUT['wishlist_id'] . '
|
||||||
;');
|
;');
|
||||||
|
|
||||||
|
$response['success'] = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'DELETE':
|
case 'DELETE':
|
||||||
|
|
Loading…
Reference in a new issue