Marked methods as deprecated.

This commit is contained in:
alext 2018-01-02 12:16:00 +01:00
parent 9888d519a4
commit 6923520f7c
2 changed files with 8 additions and 0 deletions

View file

@ -34,6 +34,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- #342: Email notifications must honor the date format value. - #342: Email notifications must honor the date format value.
- #370: AJAX Error: SyntaxError: Unexpected token < in JSON at position 0 - #370: AJAX Error: SyntaxError: Unexpected token < in JSON at position 0
### Deprecated
- The availabilities generation and AJAX endpoints will change with a future release.
## [1.2.1] - 2017-05-21 ## [1.2.1] - 2017-05-21
### Changed ### Changed

View file

@ -317,6 +317,8 @@ class Appointments extends CI_Controller {
* is managing an already booked appointment or not. * is managing an already booked appointment or not.
* *
* Outputs a JSON string with the availabilities. * Outputs a JSON string with the availabilities.
*
* @deprecated Since v1.3.0, this method will be replaced with a future release.
*/ */
public function ajax_get_available_hours() public function ajax_get_available_hours()
{ {
@ -591,6 +593,8 @@ class Appointments extends CI_Controller {
* must have the Y-m-d format. * must have the Y-m-d format.
* *
* Outputs a JSON string with the unavailable dates. that are unavailable. * Outputs a JSON string with the unavailable dates. that are unavailable.
*
* @deprecated Since v1.3.0, this method will be replaced with a future release.
*/ */
public function ajax_get_unavailable_dates() public function ajax_get_unavailable_dates()
{ {