update fix deadcode, security
This commit is contained in:
@@ -67,13 +67,5 @@ class Ward extends Model
|
||||
{
|
||||
return $this->belongsTo(Province::class, 'province_code', 'code');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the administrative unit that owns the ward.
|
||||
*/
|
||||
public function administrativeUnit()
|
||||
{
|
||||
return $this->belongsTo(AdministrativeUnit::class, 'administrative_unit_id');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user