1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 18:42:31 +01:00

Don't load daemon key on server models automatically.

This commit is contained in:
Dane Everitt 2018-03-03 18:09:49 -06:00
parent a31334c0c5
commit 6d217869e0
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 1 additions and 7 deletions

View File

@ -11,6 +11,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
### Changed
* Databases are now properly paginated when viewing a database host.
* No more loading daemon keys for every server model being loaded, some of us value our databases.
## v0.7.4-h1 (Derelict Dermodactylus)
### Fixed

View File

@ -35,13 +35,6 @@ class Server extends Model implements CleansAttributes, ValidableContract
*/
protected $dates = [self::CREATED_AT, self::UPDATED_AT, 'deleted_at'];
/**
* Always eager load these relationships on the model.
*
* @var array
*/
protected $with = ['key'];
/**
* Fields that are not mass assignable.
*