/[Arh]/lib/Arh/CurrentUser.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/Arh/CurrentUser.pm

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

revision 23 by dpavlin, Fri Nov 30 23:23:14 2007 UTC revision 34 by dpavlin, Fri Dec 14 14:39:05 2007 UTC
# Line 45  sub _init { Line 45  sub _init {
45  sub editing {  sub editing {
46          my $self = shift;          my $self = shift;
47          die unless $self->current_user->user_object;          die unless $self->current_user->user_object;
48          return $self->current_user->user_object->editing;          return $self->current_user->user_object->editing || 0;
49  }  }
50    
51  1;  1;

Legend:
Removed from v.23  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26