Lines 45-52
sub register {
Link Here
|
45 |
|
45 |
|
46 |
my @plugins; |
46 |
my @plugins; |
47 |
|
47 |
|
48 |
if ( C4::Context->config("enable_plugins") and |
48 |
if ( C4::Context->config("enable_plugins") ) |
49 |
! C4::Context->needs_install ) # Koha is installed |
|
|
50 |
{ |
49 |
{ |
51 |
# plugin needs to define a namespace |
50 |
# plugin needs to define a namespace |
52 |
@plugins = Koha::Plugins->new()->GetPlugins( |
51 |
@plugins = Koha::Plugins->new()->GetPlugins( |