🆙 Final fix delete storage link to fix news_images and logs 🆙

This commit is contained in:
Remco committed 2026-01-07 20:29:24 +01:00
1 parent 65ea6c167f
commit acf2d7e661
447 files changed
+208 -66965

No files matched your search

@@ -1,23 +0,0 @@
<?php
namespace App\Http\Controllers\User;
use App\Http\Controllers\Controller;
use App\Models\User\Ban;
use Illuminate\Support\Facades\Auth;
use Illuminate\View\View;
class BannedController extends Controller
{
public function __invoke(): View
{
$ipBan = Ban::where('ip', '=', request()->ip())
->where('ban_expire', '>', time())
->orderByDesc('id')
->first();
return view('banned', [
'ban' => $ipBan ?? Auth::user()->ban,
]);
}
}