[L6] Break search functionality without breaking the entire app
This commit is contained in:
parent
c97461d602
commit
5b4a65a60c
6 changed files with 41 additions and 3 deletions
18
app/Extensions/Illuminate/Database/Eloquent/Builder.php
Normal file
18
app/Extensions/Illuminate/Database/Eloquent/Builder.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Extensions\Illuminate\Database\Eloquent;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
|
||||
|
||||
class Builder extends EloquentBuilder
|
||||
{
|
||||
/**
|
||||
* Do nothing.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function search()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue