From 95202611eaef5c9d43f701a0a89441afcb5b5478 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 1 May 2017 16:55:53 -0700 Subject: [PATCH] [Time Conductor] Removed redundant getTimeSystem function --- .../conductor/core/src/ui/TimeConductorController.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/platform/features/conductor/core/src/ui/TimeConductorController.js b/platform/features/conductor/core/src/ui/TimeConductorController.js index 1c27d4518a..6b9296916b 100644 --- a/platform/features/conductor/core/src/ui/TimeConductorController.js +++ b/platform/features/conductor/core/src/ui/TimeConductorController.js @@ -159,18 +159,6 @@ define( })[0]; }; - /** - * Given a key for a time system, retrieve the time system object. - * @private - * @param key - * @returns {TimeSystem} - */ - TimeConductorController.prototype.getTimeSystem = function (key) { - return this.timeAPI.getAllTimeSystems().filter(function (timeSystem) { - return timeSystem.key === key; - })[0]; - }; - /** * Activate the selected menu option. Menu options correspond to clocks. * A distinction is made to avoid confusion between the menu options and