Deprecate singleOrFail() in favour of sole()
This commit is contained in:
@@ -69,7 +69,7 @@ class ZoneController extends Controller
|
||||
$o->save();
|
||||
$zo = Zone::where('zone_id',$request->zone_id)
|
||||
->where('domain_id',$request->domain_id)
|
||||
->singleOrFail();
|
||||
->sole();
|
||||
|
||||
// Find the zones 0/0 address, and assign it to this host.
|
||||
$ao = Address::where('zone_id',$zo->id)
|
||||
|
Reference in New Issue
Block a user