[Jifty-commit] r5073 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Thu Feb 7 23:41:05 EST 2008


Author: alexmv
Date: Thu Feb  7 23:41:05 2008
New Revision: 5073

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/API.pm

Log:
 r27710 at zoq-fot-pik:  chmrr | 2008-02-07 23:40:58 -0500
  * Work around bug in Devel::InnerPackage


Modified: jifty/trunk/lib/Jifty/API.pm
==============================================================================
--- jifty/trunk/lib/Jifty/API.pm	(original)
+++ jifty/trunk/lib/Jifty/API.pm	Thu Feb  7 23:41:05 2008
@@ -368,7 +368,7 @@
 
 sub actions {
     my $self = shift;
-    return sort grep { $self->is_allowed($_) } $self->_actions;
+    return sort grep { not /::SUPER$/ and $self->is_allowed($_) } $self->_actions;
 }
 
 =head2 visible_actions
@@ -381,7 +381,7 @@
 
 sub visible_actions {
     my $self = shift;
-    return sort grep { $self->is_visible($_) } $self->_actions;
+    return sort grep { not /::SUPER$/ and $self->is_visible($_) } $self->_actions;
 }
 
 =head1 SEE ALSO


More information about the Jifty-commit mailing list