mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
Fix Laravel 5.5 query scoping
This commit is contained in:
@@ -171,7 +171,7 @@ class Post extends AbstractModel
|
||||
*/
|
||||
public function scopeAllTypes(Builder $query)
|
||||
{
|
||||
return $this->removeGlobalScopes($query);
|
||||
return $query->withoutGlobalScopes();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user