[Catalyst-commits] r12728 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Mon Jan 25 19:00:17 GMT 2010
Author: rafl
Date: 2010-01-25 19:00:17 +0000 (Mon, 25 Jan 2010)
New Revision: 12728
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm
Log:
Remove apparently useless Component::BUILDARGS conditional.
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm 2010-01-25 18:59:52 UTC (rev 12727)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm 2010-01-25 19:00:17 UTC (rev 12728)
@@ -84,8 +84,6 @@
} elsif (Class::MOP::is_class_loaded($_[0]) &&
$_[0]->isa('Catalyst') && ref($_[1]) eq 'HASH') {
$args = $_[1];
- } elsif ($_[0] == $_[1]) {
- $args = $_[1];
} else {
$args = +{ @_ };
}
More information about the Catalyst-commits
mailing list