Remove *more* unused stuff
This commit is contained in:
parent
da992ff1b7
commit
cebb14f59c
52 changed files with 791 additions and 2984 deletions
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\View\View;
|
||||
|
||||
class CalculatorsController extends Controller
|
||||
{
|
||||
public function show() : View {
|
||||
return view('calculators');
|
||||
}
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\View\View;
|
||||
|
||||
class ComputersController extends Controller
|
||||
{
|
||||
public function show() : View {
|
||||
return view('computers');
|
||||
}
|
||||
}
|
||||
|
|
@ -23,7 +23,6 @@ public function getCurrentTrack() {
|
|||
'api_key' => Config::get('services.lastfm.key')
|
||||
])->get('https://ws.audioscrobbler.com/2.0/');
|
||||
$data = $response->json();
|
||||
error_log($response->body());
|
||||
$track_data = $data["recenttracks"]["track"][0];
|
||||
// $image = array_column($track_data["image"], null, 'size')['large'] ?? false;
|
||||
$image = $track_data["image"][(array_key_last($track_data["image"]))] ?? false;
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\View\View;
|
||||
|
||||
class PrivacyController extends Controller{
|
||||
/**
|
||||
* Shows the page
|
||||
* @return View
|
||||
*/
|
||||
public function show(): View {
|
||||
return view('privacy');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue