aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
authorRoscoeDeWah <roscoe@wah.moe>2025-01-16 13:57:12 +0000
committerRoscoeDeWah <roscoe@wah.moe>2025-01-16 13:57:12 +0000
commitcebb14f59cb54b24861a9aef03b9fcbf57465967 (patch)
treee0ab70bbba4ebb4821fb9a354eef55d30da90558 /app/Http/Controllers
parentda992ff1b780bf687ba2093d36c2def943296ec5 (diff)
Remove *more* unused stuff
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r--app/Http/Controllers/CalculatorsController.php13
-rw-r--r--app/Http/Controllers/ComputersController.php13
-rw-r--r--app/Http/Controllers/MusicController.php1
-rw-r--r--app/Http/Controllers/PrivacyController.php16
4 files changed, 0 insertions, 43 deletions
diff --git a/app/Http/Controllers/CalculatorsController.php b/app/Http/Controllers/CalculatorsController.php
deleted file mode 100644
index 38a7a41..0000000
--- a/app/Http/Controllers/CalculatorsController.php
+++ /dev/null
@@ -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');
- }
-}
diff --git a/app/Http/Controllers/ComputersController.php b/app/Http/Controllers/ComputersController.php
deleted file mode 100644
index e16e70d..0000000
--- a/app/Http/Controllers/ComputersController.php
+++ /dev/null
@@ -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');
- }
-}
diff --git a/app/Http/Controllers/MusicController.php b/app/Http/Controllers/MusicController.php
index 71ab1cc..ef68d2a 100644
--- a/app/Http/Controllers/MusicController.php
+++ b/app/Http/Controllers/MusicController.php
@@ -23,7 +23,6 @@ class MusicController extends Controller
'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;
diff --git a/app/Http/Controllers/PrivacyController.php b/app/Http/Controllers/PrivacyController.php
deleted file mode 100644
index 277bf35..0000000
--- a/app/Http/Controllers/PrivacyController.php
+++ /dev/null
@@ -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');
- }
-}