forked from Alex/Pterodactyl-Panel
Remove commented code
This commit is contained in:
parent
abd60ee6f8
commit
3ef3c2a461
@ -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 New Issue
Block a user