Remove all unnecessary usage of SUPER from Assets

This commit is contained in:
Colin Kuskie 2011-12-07 08:26:08 -08:00
parent c2baef0bde
commit 5f9f1e6dec
46 changed files with 175 additions and 171 deletions

View file

@ -773,11 +773,13 @@ Extend the master method to delete all keyword entries.
=cut
sub purge {
##Using around due to the plugin
around purge => sub {
my $orig = shift;
my $self = shift;
$self->session->db->write('delete from WikiMasterKeywords where assetId=?',[$self->getId]);
return $self->SUPER::purge;
}
return $self->$orig(@_);
};
#-------------------------------------------------------------------