aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/5.5.26_tic3193_no_unlimited_courses.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/5.5.26_tic3193_no_unlimited_courses.php')
-rw-r--r--db/migrations/5.5.26_tic3193_no_unlimited_courses.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/db/migrations/5.5.26_tic3193_no_unlimited_courses.php b/db/migrations/5.5.26_tic3193_no_unlimited_courses.php
index ef45bce..21a80ca 100644
--- a/db/migrations/5.5.26_tic3193_no_unlimited_courses.php
+++ b/db/migrations/5.5.26_tic3193_no_unlimited_courses.php
@@ -12,15 +12,14 @@ final class Tic3193NoUnlimitedCourses extends Migration
DBManager::get()->exec("
ALTER TABLE `sem_classes` ADD `unlimited_forbidden` TINYINT UNSIGNED NOT NULL DEFAULT 0 AFTER `is_group`
");
- $cache = StudipCacheFactory::getCache();
+ $cache = \Studip\Cache\Factory::getCache();
$cache->expire('DB_SEM_CLASSES_ARRAY');
}
public function down()
{
DBManager::get()->exec("ALTER TABLE `sem_classes` DROP `unlimited_forbidden`");
- $cache = StudipCacheFactory::getCache();
+ $cache = \Studip\Cache\Factory::getCache();
$cache->expire('DB_SEM_CLASSES_ARRAY');
}
}
-