/[Grep]/lib/Grep/Model/Feed.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Grep/Model/Feed.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 139 by dpavlin, Sat Apr 28 22:51:43 2007 UTC revision 140 by dpavlin, Tue May 8 12:31:49 2007 UTC
# Line 86  sub current_user_can { Line 86  sub current_user_can {
86    
87          return 1 if ( $uid && ! $self->id );          return 1 if ( $uid && ! $self->id );
88    
 #       Jifty->log->debug("current_user[$uid]_can($what) on Feed ", $self->id || '???', " owner ", $self->owner->id || '???');  
   
89          return 1 if ( $uid && $uid == $self->owner->id );          return 1 if ( $uid && $uid == $self->owner->id );
90    
91            warn "$uid can't $what";
92    
93            $self->SUPER::current_user_can( $what );
94  }  }
95    
96  1;  1;

Legend:
Removed from v.139  
changed lines
  Added in v.140

  ViewVC Help
Powered by ViewVC 1.1.26