Ignore:
Timestamp:
03/23/15 14:30:59 (9 years ago)
Author:
nanardon
Message:

backport fix

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

  • branches/4.0/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Attributes.pm

    r1023 r1299  
    397397} 
    398398 
     399=head2 monitored 
     400 
     401Return true if the attribute is monitored 
     402 
     403=cut 
     404 
     405sub monitored { 
     406    my ($self) = @_; 
     407 
     408    if ($self->iname ne $self->name) { 
     409        my $attr = $self->base->attribute($self->otype, $self->iname) or return; 
     410        return $attr->monitored; 
     411    } else { 
     412        return $self->{monitored} || 0; 
     413    } 
     414} 
     415 
    3994161; 
    400417 
Note: See TracChangeset for help on using the changeset viewer.