Cleanup temporary attachment files when killing session + fix indentation

release-0.6
thomascube 15 years ago
parent 269fb829ce
commit 7f37b879fd

@ -40,6 +40,7 @@ class filesystem_attachments extends rcube_plugin
// Delete all temp files associated with this user
$this->add_hook('cleanup_attachments', array($this, 'cleanup'));
$this->add_hook('kill_session', array($this, 'cleanup'));
}
/**

Loading…
Cancel
Save