Update the method names of the library.
This commit is contained in:
parent
121571f517
commit
cfac49e920
2 changed files with 10 additions and 10 deletions
|
@ -60,7 +60,7 @@ class Email_messages {
|
||||||
*
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function send_appointment_details(
|
public function send_appointment_saved(
|
||||||
array $appointment,
|
array $appointment,
|
||||||
array $provider,
|
array $provider,
|
||||||
array $service,
|
array $service,
|
||||||
|
@ -131,7 +131,7 @@ class Email_messages {
|
||||||
*
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function send_delete_appointment(
|
public function send_appointment_deleted(
|
||||||
array $appointment,
|
array $appointment,
|
||||||
array $provider,
|
array $provider,
|
||||||
array $service,
|
array $service,
|
||||||
|
|
|
@ -92,7 +92,7 @@ class Notifications {
|
||||||
|
|
||||||
if ($send_customer === TRUE)
|
if ($send_customer === TRUE)
|
||||||
{
|
{
|
||||||
$this->CI->email_messages->send_appointment_details(
|
$this->CI->email_messages->send_appointment_saved(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -115,7 +115,7 @@ class Notifications {
|
||||||
|
|
||||||
if ($send_provider === TRUE)
|
if ($send_provider === TRUE)
|
||||||
{
|
{
|
||||||
$this->CI->email_messages->send_appointment_details(
|
$this->CI->email_messages->send_appointment_saved(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -140,7 +140,7 @@ class Notifications {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->CI->email_messages->send_appointment_details(
|
$this->CI->email_messages->send_appointment_saved(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -170,7 +170,7 @@ class Notifications {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->CI->email_messages->send_appointment_details(
|
$this->CI->email_messages->send_appointment_saved(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -220,7 +220,7 @@ class Notifications {
|
||||||
|
|
||||||
if ($send_provider === TRUE)
|
if ($send_provider === TRUE)
|
||||||
{
|
{
|
||||||
$this->CI->email_messages->send_delete_appointment(
|
$this->CI->email_messages->send_appointment_deleted(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -240,7 +240,7 @@ class Notifications {
|
||||||
|
|
||||||
if ($send_customer === TRUE)
|
if ($send_customer === TRUE)
|
||||||
{
|
{
|
||||||
$this->CI->email_messages->send_delete_appointment(
|
$this->CI->email_messages->send_appointment_deleted(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -262,7 +262,7 @@ class Notifications {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->CI->email_messages->send_delete_appointment(
|
$this->CI->email_messages->send_appointment_deleted(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
@ -289,7 +289,7 @@ class Notifications {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->CI->email_messages->send_delete_appointment(
|
$this->CI->email_messages->send_appointment_deleted(
|
||||||
$appointment,
|
$appointment,
|
||||||
$provider,
|
$provider,
|
||||||
$service,
|
$service,
|
||||||
|
|
Loading…
Reference in a new issue