plugins/database_attachments/database_attachments.php
@@ -126,9 +126,11 @@ */ function cleanup($args) { $cache = $this->get_cache(); // check if cache object exist, it may be empty on session_destroy (#1489726) if ($cache = $this->get_cache()) { $cache->remove($args['group'], true); } } /** * Helper method to generate a unique key for the given attachment file