Revert "refactor: dynamic calls to static"

This reverts commit 71ff333eb4.
This commit is contained in:
HDVinnie
2021-05-09 10:49:39 -04:00
parent fe3920984f
commit 07bb03c9bc
5 changed files with 15 additions and 15 deletions
@@ -360,7 +360,7 @@ class TorrentController extends BaseController
$description .= '%'.$keyword.'%';
}
$torrent = $torrent::newQuery();
$torrent = $torrent->newQuery();
if ($request->has('name') && $request->input('name') != null) {
$torrent->where(function ($query) use ($search) {