From 6923520f7c9e9d56c8f7b5d8ce9768ed4dda6d03 Mon Sep 17 00:00:00 2001 From: alext Date: Tue, 2 Jan 2018 12:16:00 +0100 Subject: [PATCH] Marked methods as deprecated. --- CHANGELOG.md | 4 ++++ src/application/controllers/Appointments.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 975a51fa..1c98f236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. - #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 ### Changed diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index b89968bc..d4419bbc 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -317,6 +317,8 @@ class Appointments extends CI_Controller { * is managing an already booked appointment or not. * * 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() { @@ -591,6 +593,8 @@ class Appointments extends CI_Controller { * must have the Y-m-d format. * * 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() {