From c53d646eec8907a4e9cb027c34bb93801f3c9fdc Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 21 Jul 2015 17:00:20 +0800 Subject: Bug 1180572 - create attachment_storage parameter --- Bugzilla/Attachment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Attachment.pm') diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 07fafb11e..c3e48b899 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -822,7 +822,7 @@ sub remove_from_db { $dbh->do('UPDATE attachments SET mimetype = ?, ispatch = ?, isobsolete = ?, attach_size = ? WHERE attach_id = ?', undef, ('text/plain', 0, 1, 0, $self->id)); $dbh->bz_commit_transaction(); - current_storage->remove($self->id); + current_storage()->remove($self->id); # As we don't call SUPER->remove_from_db we need to manually clear # memcached here. -- cgit v1.2.3-24-g4f1b