From 3c9fc9a1fe931fc9064f6fb16d8cab656e46f758 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 20 Apr 2026 19:24:58 +0930 Subject: [PATCH] Remove EXP_PUE flag, post editing is always enabled Remove the 'pue' entry from config/exp.php and the abort_if guard in StatusEditController. Post editing is now unconditionally available. --- app/Http/Controllers/StatusEditController.php | 1 - config/exp.php | 3 --- 2 files changed, 4 deletions(-) diff --git a/app/Http/Controllers/StatusEditController.php b/app/Http/Controllers/StatusEditController.php index 168e21657..b45614519 100644 --- a/app/Http/Controllers/StatusEditController.php +++ b/app/Http/Controllers/StatusEditController.php @@ -16,7 +16,6 @@ class StatusEditController extends Controller public function __construct() { $this->middleware('auth'); - abort_if(! config('exp.pue'), 404, 'Post editing is not enabled on this server.'); } public function store(StoreStatusEditRequest $request, $id) diff --git a/config/exp.php b/config/exp.php index e14463411..d8f853752 100644 --- a/config/exp.php +++ b/config/exp.php @@ -39,8 +39,5 @@ return [ // HLS Live Streaming 'hls' => env('HLS_LIVE', false), - // Post Update/Edits - 'pue' => env('EXP_PUE', true), - 'autolink' => env('EXP_AUTOLINK_V2', false), ];