Added deleting the .sig file as well

8.0.x
Greg Dunlap 2012-01-07 21:55:34 +01:00
parent 08e0a2b561
commit fbc7a6a361
1 changed files with 1 additions and 0 deletions

View File

@ -361,6 +361,7 @@ class SignedFileStorage {
public function delete() {
// Needs error handling and etc.
@drupal_unlink($this->getFilePath());
@drupal_unlink($this->getFilePath() . '.sig');
}
}