From c20d2eedbc7a11e97d86fcbfc7087b9ac7aa1d28 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 23 Feb 2021 23:45:50 +1100 Subject: [PATCH] remove redundant method --- app/Models/Client.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/Models/Client.php b/app/Models/Client.php index 7eccca3ef639..ba10ae36b477 100644 --- a/app/Models/Client.php +++ b/app/Models/Client.php @@ -223,16 +223,6 @@ class Client extends BaseModel implements HasLocalePreference })->first()->format; } - public function translated_date_format() - { - $date_formats = Cache::get('date_formats'); - - return $date_formats->filter(function ($item) { - return $item->id == $this->getSetting('date_format_id'); - })->first()->translated_format; - - } - public function currency() { $currencies = Cache::get('currencies');