Bug 21116: (RMaint follow-up) do not use Koha::Exceptions::Exception
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Nov 2018 13:41:54 +0000 (14:41 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Nov 2018 13:43:09 +0000 (14:43 +0100)
Koha/Exceptions/Plugin.pm

index 5348744..fafd838 100644 (file)
@@ -17,12 +17,7 @@ package Koha::Exceptions::Plugin;
 
 use Modern::Perl;
 
-use Koha::Exceptions::Exception;
-
 use Exception::Class (
-    'Koha::Exceptions::Plugin' => {
-        isa         => 'Koha::Exceptions::Exception',
-    },
     'Koha::Exceptions::Plugin::ForbiddenAction' => {
         isa         => 'Koha::Exceptions::Plugin',
         description => 'The plugin is trying to do something it is not allowed to'