Remove commented code

This commit is contained in:
Matthew Penner 2020-10-12 11:12:23 -06:00
parent abd60ee6f8
commit 3ef3c2a461

View file

@ -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;