Skip to content

Commit

Permalink
Remove seemingly pointless PHP5 Reflection branch. Again, hopefully fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Jun 27, 2009
1 parent e2ed6fc commit e00f79c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions simplepie.inc
Expand Up @@ -13023,20 +13023,7 @@ class SimplePie_Parse_Date
static $cache;
if (!isset($cache[get_class($this)]))
{
if (extension_loaded('Reflection'))
{
$class =& new ReflectionClass(get_class($this));
$methods = $class->getMethods();
$all_methods = array();
foreach ($methods as &$method)
{
$all_methods[] = $method->getName();
}
}
else
{
$all_methods = get_class_methods($this);
}
$all_methods = get_class_methods($this);

foreach ($all_methods as $method)
{
Expand Down

0 comments on commit e00f79c

Please sign in to comment.