Permalink
Browse files

Remove useless code

  • Loading branch information...
1 parent 2c0d3af commit cbff0d53416f54cd3ea1f0696773b6a11617073f @vicb vicb committed Jul 4, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −4 AbstractExtension.php
  2. +0 −4 Extension/Core/ChoiceList/TimezoneChoiceList.php
View
@@ -194,10 +194,6 @@ private function initTypeExtensions()
$type = $extension->getExtendedType();
- if (!isset($this->typeExtensions[$type])) {
- $this->typeExtensions[$type] = array();
- }
-
$this->typeExtensions[$type][] = $extension;
}
}
@@ -55,10 +55,6 @@ public function getChoices()
$name = $parts[0];
}
- if (!isset(static::$timezones[$region])) {
- static::$timezones[$region] = array();
- }
-
static::$timezones[$region][$timezone] = str_replace('_', ' ', $name);
}

0 comments on commit cbff0d5

Please sign in to comment.