Commits

Shlomi Fish  committed e722c79

Refactoring.

  • Participants
  • Parent commits 7dfd50e

Comments (0)

Files changed (1)

 sub recover_silently {
     my $self = shift;
     my $arg = shift;
-    (($arg == 1) ? $self->recover(2) : $self->recover($arg)) if defined($arg);
+    if ( defined($arg) )
+    {
+        $self->recover(($arg == 1) ? 2 : $arg);
+    }
     return (($self->recover()||0) == 2) ? 1 : 0;
 }