diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-21 09:29:24 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-21 09:29:24 +0000 |
| commit | b1f13ce8299d581ccb889e2d98e13574bffcc5ba (patch) | |
| tree | 644385d6fea33f831a714fc3783f8161a2cb1d86 /cli | |
| parent | 7635e34c038e86e2b369b3f6edc457042ffa5b66 (diff) | |
add remaining class filename and add migration to fix the cronjobs, re #4282
Merge request studip/studip!3136
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/Commands/CleanupAdmissionRules.php | 2 | ||||
| -rw-r--r-- | cli/Commands/Plugins/PluginInfo.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cli/Commands/CleanupAdmissionRules.php b/cli/Commands/CleanupAdmissionRules.php index 3079ae4..a7036d3 100644 --- a/cli/Commands/CleanupAdmissionRules.php +++ b/cli/Commands/CleanupAdmissionRules.php @@ -18,7 +18,7 @@ class CleanupAdmissionRules extends Command protected function execute(InputInterface $input, OutputInterface $output): int { - require_once 'lib/classes/admission/CourseSet.class.php'; + require_once 'lib/classes/admission/CourseSet.php'; $course_set = new \CourseSet(); diff --git a/cli/Commands/Plugins/PluginInfo.php b/cli/Commands/Plugins/PluginInfo.php index 9809b13..c8f9748 100644 --- a/cli/Commands/Plugins/PluginInfo.php +++ b/cli/Commands/Plugins/PluginInfo.php @@ -65,11 +65,11 @@ class PluginInfo extends AbstractPluginCommand private function pluginClassExists(string $plugindir, array $plugin) { - $pluginfile = $plugindir . $plugin['class'] . '.class.php'; + $pluginfile = $plugindir . $plugin['class'] . '.php'; if (file_exists($pluginfile)) { return 1; } else { - $pluginfile = $plugindir . $plugin['class'] . '.php'; + $pluginfile = $plugindir . $plugin['class'] . '.class.php'; if (file_exists($pluginfile)) { return 1; } |
