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/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'); 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),