mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
[L6] Break search functionality without breaking the entire app
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user