Parent Directory | Revision Log | 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) ); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |