Commits

Anonymous committed 8b40d8b

Using deleterecord method.

  • Participants
  • Parent commits 65d57a1

Comments (0)

Files changed (1)

File lib/Passwd/Keyring/PWSafe3.pm

 
     my $rec = $self->_find_record($user_name, $realm);
     if($rec) {
-        # Hooking into PwSafe3 internals to avoid artificial clearing method
-        delete $self->{vault}->{record}->{ $rec->uuid };
-        # TODO: offer fix to PwSafe3 to add delete method
-
+        $self->{vault}->deleterecord($rec->uuid);
         $self->save() unless $self->{lazy_save};
         return 1;
     } else {