[Fix] Fix new installations

This bugfix comments out the installation counter as it is currently an extremely bad practice and resulted in an issue with errors.
This commit is contained in:
Jens 2023-04-14 10:01:05 +02:00 committed by GitHub
parent ba75d09cbf
commit 15ee059d30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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