Browse Source

[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.
Jens 2 năm trước cách đây
mục cha
commit
15ee059d30

+ 3 - 1
app/Http/Controllers/HomeController.php

@@ -25,6 +25,8 @@ class HomeController extends Controller
         $this->middleware('auth');
         $this->middleware('auth');
     }
     }
 
 
+    /*
+    * TODO: This is commented due to the fact the market is a bad dependency, will be changed later.
     public function callHome()
     public function callHome()
     {
     {
         if (Storage::exists('callHome')) {
         if (Storage::exists('callHome')) {
@@ -34,7 +36,7 @@ class HomeController extends Controller
             'id' => Hash::make(URL::current()),
             'id' => Hash::make(URL::current()),
         ]);
         ]);
         Storage::put('callHome', 'This is only used to count the installations of cpgg.');
         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
      * @description Get the Background Color for the Days-Left-Box in HomeView