remove white space and carriage returns from version
This commit is contained in:
parent
8f53424017
commit
0df672baaa
2 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class VersionCheck implements ShouldQueue
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
$version_file = file_get_contents(config('ninja.version_url'));
|
||||
$version_file = trim(file_get_contents(config('ninja.version_url')));
|
||||
|
||||
info("latest version = {$version_file}");
|
||||
|
||||
|
|
|
|||
|
|
@ -97,6 +97,8 @@ class Company extends BaseModel
|
|||
'google_analytics_key',
|
||||
'client_can_register',
|
||||
'enable_shop_api',
|
||||
'invoice_task_timelog',
|
||||
'auto_start_tasks',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue