From 74ea9adbf2c6792894893b163a72ea6ad9a84656 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 3 Aug 2022 08:54:15 +0200 Subject: [PATCH] Exporter: better variable name --- library/Director/Data/Exporter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Director/Data/Exporter.php b/library/Director/Data/Exporter.php index 5070ca16..c21a9ae5 100644 --- a/library/Director/Data/Exporter.php +++ b/library/Director/Data/Exporter.php @@ -65,7 +65,7 @@ class Exporter protected $fieldReferenceLoader; protected $exportHostServices = false; - protected $fetchAllHostServices = false; + protected $resolveHostServices = false; protected $showDefaults = false; protected $showIds = false; protected $resolveObjects = false; @@ -115,7 +115,7 @@ class Exporter public function resolveHostServices($enable = true) { - $this->fetchAllHostServices = $enable; + $this->resolveHostServices = $enable; return $this; } @@ -208,7 +208,7 @@ class Exporter { $table = (new ObjectsTableService($this->connection))->setHost($host); $services = $this->fetchServicesForTable($table); - if ($this->fetchAllHostServices) { + if ($this->resolveHostServices) { foreach ($this->fetchAllServicesForHost($host) as $service) { $services[] = $service; }