Bug 24183: (RM follow-up) Remove re-introduced UseKohaPlugins
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 22 Apr 2020 11:24:27 +0000 (12:24 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 22 Apr 2020 11:24:27 +0000 (12:24 +0100)
We removed UseKohaPlugins in bug 20415 but incidentally added a
reference to it bug 24183. This patch corrects that error.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

misc/cronjobs/process_message_queue.pl

index 73cbc9a..33a8cf3 100755 (executable)
@@ -70,7 +70,7 @@ die $usage if $help;
 
 cronlogaction();
 
-if ( C4::Context->preference('UseKohaPlugins') && C4::Context->config("enable_plugins") ) {
+if ( C4::Context->config("enable_plugins") ) {
     my @plugins = Koha::Plugins->new->GetPlugins({
         method => 'before_send_messages',
     });