Convert Input to Request facade

Laravel 5.2 no longer registers the `Input` facade by default. While
still available in Laravel 5, the `Input` facade is removed in
Laravel 6.
This commit is contained in:
Shift
2023-01-07 18:48:11 +00:00
parent 67bf088f27
commit 723ac38edd
25 changed files with 98 additions and 91 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Http\Controllers\Job;
use Illuminate\Support\Facades\Request as Input;
use App\Http\Controllers\Controller;
use Exception;
use Form;
@@ -31,7 +32,7 @@ class MailController extends Controller
public function form($label, $name, $class)
{
$mailid = \Input::get('emailid');
$mailid = Input::get('emailid');
if ($mailid) {
$emails = new \App\Model\helpdesk\Email\Emails();
$email = $emails->find($mailid);