mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 03:59:08 -05:00
fix: remove or rename invalid model relations
Requests don't have distributor or region relations, and Announce relations were renamed incorrectly. The relations don't appear to be used for anything currently.
This commit is contained in:
@@ -57,14 +57,4 @@ class Distributor extends Model
|
||||
{
|
||||
return $this->hasMany(Torrent::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the requests for this distributor.
|
||||
*
|
||||
* @return HasMany<TorrentRequest, $this>
|
||||
*/
|
||||
public function requests(): HasMany
|
||||
{
|
||||
return $this->hasMany(TorrentRequest::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user