deleted pro code

This commit is contained in:
Čarodej
2022-04-26 14:08:20 +02:00
parent 188d5613b7
commit f45c1eb576
76 changed files with 62 additions and 3048 deletions

View File

@@ -29,21 +29,6 @@ class UpdateSettingValueController extends Controller
return response('Done', 204);
}
// Set paypal live option
if ($request->input('name') === 'paypal_live') {
setEnvironmentValue([
'PAYPAL_IS_LIVE' => $request->input('value') ? 'true' : 'false',
]);
// Clear config cache
if (! is_dev()) {
Artisan::call('config:clear');
Artisan::call('config:cache');
}
return response('Done', 204);
}
// Find and update variable
Setting::updateOrCreate(
['name' => $request->input('name')],