This was never used

This commit is contained in:
Lance Pioch 2022-10-20 20:20:05 -04:00
parent f45b7b5996
commit 3e405b626b
2 changed files with 0 additions and 17 deletions

View file

@ -37,11 +37,6 @@ interface ServerRepositoryInterface extends RepositoryInterface
*/
public function getDataForCreation(Server $server, bool $refresh = false): Server;
/**
* Load associated databases onto the server model.
*/
public function loadDatabaseRelations(Server $server, bool $refresh = false): Server;
/**
* Get data for use when updating a server on the Daemon. Returns an array of
* the egg which is used for build and rebuild. Only loads relations

View file

@ -96,18 +96,6 @@ class ServerRepository extends EloquentRepository implements ServerRepositoryInt
return $server;
}
/**
* Load associated databases onto the server model.
*/
public function loadDatabaseRelations(Server $server, bool $refresh = false): Server
{
if (!$server->relationLoaded('databases') || $refresh) {
$server->load('databases.host');
}
return $server;
}
/**
* Get data for use when updating a server on the Daemon. Returns an array of
* the egg which is used for build and rebuild. Only loads relations