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:
parent
a31334c0c5
commit
6d217869e0
@ -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
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user