File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,12 @@ private function addAllPlugins() {
89
89
);
90
90
$ this ->application ->addPlugin ($ moduleName );
91
91
92
- if (is_file (PLUGIN . $ moduleName . DS . 'vendor/autoload.php ' )) {
93
- require PLUGIN . $ moduleName . DS . 'vendor/autoload.php ' ;
94
- }
92
+ // https://github.com/it-novum/openITCOCKPIT/pull/1578
93
+ // This leads to issues when Plugins/Modules have older version of CakePHP (to run Tests for example)
94
+ // Issues like 'Unknown method "selectQuery" called on App\\Model\\Table\\AgentchecksTable'
95
+ //if (is_file(PLUGIN . $moduleName . DS . 'vendor/autoload.php')) {
96
+ // require PLUGIN . $moduleName . DS . 'vendor/autoload.php';
97
+ //}
95
98
96
99
$ pluginAssociationsFile = PLUGIN . $ moduleName . DS . 'config ' . DS . 'associations.php ' ;
97
100
if (file_exists ($ pluginAssociationsFile )) {
You can’t perform that action at this time.
0 commit comments