diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2025-01-15 12:51:40 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2025-01-15 12:51:40 +0000 |
| commit | 216b365e61885406579b693a17ce7055f039ada0 (patch) | |
| tree | 92b0cca24fac9b23cefafd9ae426ff9091b8db14 | |
| parent | 40cf00d385e5d9810327e1f2b0e1f92ef55e1726 (diff) | |
Resolve "Log-Events schneiden Pluginnamen ab"
Closes #5135
Merge request studip/studip!3840
| -rw-r--r-- | lib/migrations/Migrator.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/migrations/Migrator.php b/lib/migrations/Migrator.php index 3b1fe0f..3956681 100644 --- a/lib/migrations/Migrator.php +++ b/lib/migrations/Migrator.php @@ -247,7 +247,11 @@ class Migrator $this->schema_version->set($this->isDown($branch) ? $version - 1 : $version, $branch); $action = $this->isUp($branch) ? 'MIGRATE_UP' : 'MIGRATE_DOWN'; - StudipLog::log($action, $number, $this->schema_version->getDomain()); + StudipLog::log( + $action, + $number, + substr($this->schema_version->getDomain(), 0, 32) + ); } } |
