[Fix] [CRITICAL] Fix new installations (#790)
This commit is contained in:
commit
51d340d95b
1 changed files with 4 additions and 2 deletions
|
@ -25,6 +25,8 @@ class HomeController extends Controller
|
|||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO: This is commented due to the fact the market is a bad dependency, will be changed later.
|
||||
public function callHome()
|
||||
{
|
||||
if (Storage::exists('callHome')) {
|
||||
|
@ -34,7 +36,7 @@ class HomeController extends Controller
|
|||
'id' => Hash::make(URL::current()),
|
||||
]);
|
||||
Storage::put('callHome', 'This is only used to count the installations of cpgg.');
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* @description Get the Background Color for the Days-Left-Box in HomeView
|
||||
|
@ -105,7 +107,7 @@ class HomeController extends Controller
|
|||
$unit = $daysLeft < 1 ? ($hoursLeft < 1 ? null : __('hours')) : __('days');
|
||||
}
|
||||
|
||||
$this->callhome();
|
||||
//$this->callhome(); TODO: Same as the function
|
||||
|
||||
// RETURN ALL VALUES
|
||||
return view('home')->with([
|
||||
|
|
Loading…
Reference in a new issue