From 4ed7465784ed6748b926596ac826f5bb6c1a002f Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 29 Oct 2021 13:16:21 +0200 Subject: [PATCH] Corrected the name of the exception variable --- application/controllers/api/v1/API_V1_Controller.php | 2 +- application/controllers/api/v1/Admins.php | 8 ++++---- application/controllers/api/v1/Appointments.php | 8 ++++---- application/controllers/api/v1/Availabilities.php | 2 +- application/controllers/api/v1/Categories.php | 8 ++++---- application/controllers/api/v1/Customers.php | 8 ++++---- application/controllers/api/v1/Providers.php | 8 ++++---- application/controllers/api/v1/Secretaries.php | 8 ++++---- application/controllers/api/v1/Services.php | 8 ++++---- application/controllers/api/v1/Settings.php | 6 +++--- application/controllers/api/v1/Unavailabilities.php | 6 +++--- 11 files changed, 36 insertions(+), 36 deletions(-) diff --git a/application/controllers/api/v1/API_V1_Controller.php b/application/controllers/api/v1/API_V1_Controller.php index 272765a4..c5503d97 100644 --- a/application/controllers/api/v1/API_V1_Controller.php +++ b/application/controllers/api/v1/API_V1_Controller.php @@ -62,7 +62,7 @@ class API_V1_Controller extends EA_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); exit; } } diff --git a/application/controllers/api/v1/Admins.php b/application/controllers/api/v1/Admins.php index 9d117816..94465841 100644 --- a/application/controllers/api/v1/Admins.php +++ b/application/controllers/api/v1/Admins.php @@ -71,7 +71,7 @@ class Admins extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -107,7 +107,7 @@ class Admins extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -142,7 +142,7 @@ class Admins extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -166,7 +166,7 @@ class Admins extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Appointments.php b/application/controllers/api/v1/Appointments.php index 7a20f5cd..ccf23fdb 100644 --- a/application/controllers/api/v1/Appointments.php +++ b/application/controllers/api/v1/Appointments.php @@ -84,7 +84,7 @@ class Appointments extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -143,7 +143,7 @@ class Appointments extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -193,7 +193,7 @@ class Appointments extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -232,7 +232,7 @@ class Appointments extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Availabilities.php b/application/controllers/api/v1/Availabilities.php index 9b621995..bf74fae5 100644 --- a/application/controllers/api/v1/Availabilities.php +++ b/application/controllers/api/v1/Availabilities.php @@ -66,7 +66,7 @@ class Availabilities extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Categories.php b/application/controllers/api/v1/Categories.php index d1487050..284adef9 100644 --- a/application/controllers/api/v1/Categories.php +++ b/application/controllers/api/v1/Categories.php @@ -71,7 +71,7 @@ class Categories extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -102,7 +102,7 @@ class Categories extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -137,7 +137,7 @@ class Categories extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -161,7 +161,7 @@ class Categories extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Customers.php b/application/controllers/api/v1/Customers.php index 53bcdd58..76a53656 100644 --- a/application/controllers/api/v1/Customers.php +++ b/application/controllers/api/v1/Customers.php @@ -71,7 +71,7 @@ class Customers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -102,7 +102,7 @@ class Customers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -137,7 +137,7 @@ class Customers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -161,7 +161,7 @@ class Customers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Providers.php b/application/controllers/api/v1/Providers.php index 9ad544ca..5320310e 100644 --- a/application/controllers/api/v1/Providers.php +++ b/application/controllers/api/v1/Providers.php @@ -71,7 +71,7 @@ class Providers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -117,7 +117,7 @@ class Providers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -152,7 +152,7 @@ class Providers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -176,7 +176,7 @@ class Providers extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Secretaries.php b/application/controllers/api/v1/Secretaries.php index 309339dc..91f13565 100644 --- a/application/controllers/api/v1/Secretaries.php +++ b/application/controllers/api/v1/Secretaries.php @@ -71,7 +71,7 @@ class Secretaries extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -112,7 +112,7 @@ class Secretaries extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -147,7 +147,7 @@ class Secretaries extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -171,7 +171,7 @@ class Secretaries extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Services.php b/application/controllers/api/v1/Services.php index 1924d643..639a415c 100644 --- a/application/controllers/api/v1/Services.php +++ b/application/controllers/api/v1/Services.php @@ -71,7 +71,7 @@ class Services extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -102,7 +102,7 @@ class Services extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -137,7 +137,7 @@ class Services extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -161,7 +161,7 @@ class Services extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Settings.php b/application/controllers/api/v1/Settings.php index 63cc6c41..22b56bf8 100644 --- a/application/controllers/api/v1/Settings.php +++ b/application/controllers/api/v1/Settings.php @@ -88,7 +88,7 @@ class Settings extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -116,7 +116,7 @@ class Settings extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -140,7 +140,7 @@ class Settings extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } } diff --git a/application/controllers/api/v1/Unavailabilities.php b/application/controllers/api/v1/Unavailabilities.php index f4eefe5c..377533f5 100644 --- a/application/controllers/api/v1/Unavailabilities.php +++ b/application/controllers/api/v1/Unavailabilities.php @@ -71,7 +71,7 @@ class Unavailabilities extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -102,7 +102,7 @@ class Unavailabilities extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } @@ -161,7 +161,7 @@ class Unavailabilities extends API_V1_Controller { } catch (Throwable $e) { - $this->handle_exception($exception); + $this->handle_exception($e); } } }