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.
pull/6582/head
Your Name 3 months ago
parent 0a41c9e387
commit 3c9fc9a1fe

@ -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)

@ -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),
];

Loading…
Cancel
Save