diff --git a/library/Icingadb/Model/CheckcommandArgument.php b/library/Icingadb/Model/CheckcommandArgument.php index d59d4e3d2..3fb4ad5a3 100644 --- a/library/Icingadb/Model/CheckcommandArgument.php +++ b/library/Icingadb/Model/CheckcommandArgument.php @@ -70,6 +70,6 @@ public function createBehaviors(Behaviors $behaviors) public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); - $relations->belongsTo('checkcommand', CheckCommand::class); + $relations->belongsTo('checkcommand', Checkcommand::class); } } diff --git a/library/Icingadb/Model/CheckcommandCustomvar.php b/library/Icingadb/Model/CheckcommandCustomvar.php index d55506e85..0a834b58c 100644 --- a/library/Icingadb/Model/CheckcommandCustomvar.php +++ b/library/Icingadb/Model/CheckcommandCustomvar.php @@ -43,7 +43,7 @@ public function createBehaviors(Behaviors $behaviors) public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); - $relations->belongsTo('checkcommand', CheckCommand::class); + $relations->belongsTo('checkcommand', Checkcommand::class); $relations->belongsTo('customvar', Customvar::class); $relations->belongsTo('customvar_flat', CustomvarFlat::class) ->setCandidateKey('customvar_id') diff --git a/library/Icingadb/Model/CheckcommandEnvvar.php b/library/Icingadb/Model/CheckcommandEnvvar.php index cbcb92696..517a45fc5 100644 --- a/library/Icingadb/Model/CheckcommandEnvvar.php +++ b/library/Icingadb/Model/CheckcommandEnvvar.php @@ -56,6 +56,6 @@ public function createBehaviors(Behaviors $behaviors) public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); - $relations->belongsTo('checkcommand', CheckCommand::class); + $relations->belongsTo('checkcommand', Checkcommand::class); } }