From 3a3c62a855ad893462a6e3a4fe5b76932a84e64d Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Tue, 23 Apr 2019 11:36:46 +0200 Subject: [PATCH] Visual Console Refactor: added a pair of comment lines Former-commit-id: dc2237e31753b212ce268d5a6901723ffb5a7528 --- .../include/rest-api/models/VisualConsole/Items/StaticGraph.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/include/rest-api/models/VisualConsole/Items/StaticGraph.php b/pandora_console/include/rest-api/models/VisualConsole/Items/StaticGraph.php index 139608a491..169afe81c8 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Items/StaticGraph.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Items/StaticGraph.php @@ -164,6 +164,8 @@ final class StaticGraph extends Item } // Get the img src. + // There's no need to connect to the metaconsole after searching for + // the image status cause the function itself does that for us. $imagePath = \visual_map_get_image_status_element($data); $data['statusImageSrc'] = \ui_get_full_url( $imagePath,