/[A3C]/lib/A3C/Model/StrixInstanceSelection.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/A3C/Model/StrixInstanceSelection.pm

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

revision 200 by dpavlin, Tue Jun 17 21:28:28 2008 UTC revision 201 by dpavlin, Wed Jun 18 13:03:40 2008 UTC
# Line 31  sub validate_instance { Line 31  sub validate_instance {
31          my $instance = shift;          my $instance = shift;
32    
33          my $strix = A3C::Model::StrixInstanceSelection->new;          my $strix = A3C::Model::StrixInstanceSelection->new;
34          $strix->load_by_cols( instance => $instance );          $strix->load_by_cols( instance => $instance, by_user => Jifty->web->current_user->id );
35    
36          if ( $strix->id ) {          if ( $strix->id ) {
37                  return ( 0, _('Instance %1 allready selected', $instance) );                  return ( 0, _('Instance %1 allready selected', $instance) );

Legend:
Removed from v.200  
changed lines
  Added in v.201

  ViewVC Help
Powered by ViewVC 1.1.26