/[Grep]/lib/Grep/Model/Item.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/Item.pm

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

revision 93 by dpavlin, Thu Feb 22 17:59:56 2007 UTC revision 94 by dpavlin, Sat Feb 24 11:33:57 2007 UTC
# Line 61  sub current_user_can { Line 61  sub current_user_can {
61    
62  #       Jifty->log->debug("current_user[$uid]_can($what) on Item ", $self->id || '???', " owner ", $owner_id || '???');  #       Jifty->log->debug("current_user[$uid]_can($what) on Item ", $self->id || '???', " owner ", $owner_id || '???');
63    
64          return 1 if ( $uid == $owner_id );          return 1 if ( $uid && $uid == $owner_id );
65  }  }
66    
67  1;  1;

Legend:
Removed from v.93  
changed lines
  Added in v.94

  ViewVC Help
Powered by ViewVC 1.1.26