Remove commented code
This commit is contained in:
parent
abd60ee6f8
commit
3ef3c2a461
1 changed files with 0 additions and 5 deletions
|
@ -426,11 +426,6 @@ class ServersController extends Controller
|
||||||
*/
|
*/
|
||||||
public function addMount(Server $server, Mount $mount)
|
public function addMount(Server $server, Mount $mount)
|
||||||
{
|
{
|
||||||
/*$server->mounts()->updateOrCreate([
|
|
||||||
'mount_id' => $mount->id,
|
|
||||||
'server_id' => $server->id,
|
|
||||||
]);*/
|
|
||||||
|
|
||||||
$mountServer = new MountServer;
|
$mountServer = new MountServer;
|
||||||
$mountServer->mount_id = $mount->id;
|
$mountServer->mount_id = $mount->id;
|
||||||
$mountServer->server_id = $server->id;
|
$mountServer->server_id = $server->id;
|
||||||
|
|
Loading…
Reference in a new issue