Complete implement of select2 component, and replaced existing use of select2. Also deprecated CustomBlade definitions of select2/simplemde
This commit is contained in:
@@ -684,9 +684,16 @@ class SystemController extends Controller
|
||||
$this->authorize('update_nn',$o);
|
||||
session()->flash('accordion','session');
|
||||
|
||||
// Remove the subscription to file/echo areas for each address affected
|
||||
foreach ($o->akas->where('zone_id',$zo->id) as $ao) {
|
||||
$ao->echoareas()->detach();
|
||||
$ao->fileareas()->detach();
|
||||
}
|
||||
|
||||
$o->sessions()->detach($zo);
|
||||
|
||||
return redirect()->to(sprintf('system/addedit/%d',$o->id));
|
||||
return redirect()
|
||||
->to(sprintf('system/addedit/%d',$o->id));
|
||||
}
|
||||
// @todo Can this be consolidated with system_register()
|
||||
|
||||
|
Reference in New Issue
Block a user