From 506df2a134d779bf384434de4b021bae675cc003 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 20 Sep 2015 19:52:39 +0200 Subject: [PATCH] This method is already implemented. Signed-off-by: Roland Haeder --- .../city/classes/class_BaseCitySystem.php | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/application/city/classes/class_BaseCitySystem.php b/application/city/classes/class_BaseCitySystem.php index f52a55a..3dd7410 100644 --- a/application/city/classes/class_BaseCitySystem.php +++ b/application/city/classes/class_BaseCitySystem.php @@ -63,28 +63,6 @@ class BaseCitySystem extends BaseFrameworkSystem { protected final function setCityInstance (CityHelper $cityInstance) { $this->cityInstance = $cityInstance; } - - /** - * "Getter" for a printable state name - * - * @return $stateName Name of the city's state in a printable format - */ - public final function getPrintableState () { - // Default is 'null' - $stateName = 'null'; - - // Get the state instance - $stateInstance = $this->getStateInstance(); - - // Is it an instance of Stateable? - if ($stateInstance instanceof Stateable) { - // Then use that state name - $stateName = $stateInstance->getStateName(); - } // END - if - - // Return result - return $stateName; - } } // [EOF] -- 2.39.5