This was never used
This commit is contained in:
parent
f45b7b5996
commit
3e405b626b
2 changed files with 0 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue