From c20d2eedbc7a11e97d86fcbfc7087b9ac7aa1d28 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 23 Feb 2021 23:45:50 +1100 Subject: [PATCH 1/2] 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'); From 4169830a3a16d3fc0659bb1f601d9e13f6fe9faf Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 23 Feb 2021 23:55:36 +1100 Subject: [PATCH 2/2] v5.1.8 --- VERSION.txt | 2 +- config/ninja.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 693ad745af3e..a106d2aa66c4 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.1.7 \ No newline at end of file +5.1.8 \ No newline at end of file diff --git a/config/ninja.php b/config/ninja.php index bba526d6506f..a2f74a68d4e6 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -13,7 +13,7 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', ''), - 'app_version' => '5.1.7', + 'app_version' => '5.1.8', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),