[Rt-commit] rt branch, 4.4/custom-field-disable-enable-msg, repushed

Dustin Graves dustin at bestpractical.com
Tue Aug 18 13:12:50 EDT 2015


The branch 4.4/custom-field-disable-enable-msg was deleted and repushed:
       was 64eb8edab9bc80f553f5984e7a328ba0cad81844
       now 29c04025c19786466ecd975c6d91ee9f0166b798

1:  64eb8ed ! 1:  29c0402 Change Custom Field disable/enable message to be friendlier
    @@ -20,16 +20,11 @@
     +    my $self = shift;
     +    my $val = shift;
     +
    -+    $RT::Handle->BeginTransaction();
    -+
     +    my ($status, $msg) = $self->_Set(Field => 'Disabled', Value => $val);
     +
     +    unless ($status) {
    -+        $RT::Handle->Rollback();
     +        return ($status, $msg);
     +    }
    -+
    -+    $RT::Handle->Commit();
     +
     +    if ( $val == 1 ) {
     +        return (1, $self->loc("Disabled"));



More information about the rt-commit mailing list