remove codeigniter

This commit is contained in:
root
2026-06-04 02:41:08 -04:00
parent 4e33882ac7
commit b4e6ac03c5
180 changed files with 457 additions and 2186 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ class Configuration extends BaseModel
];
/* =========================
* CI method equivalents
* legacy method equivalents
* ========================= */
/**
@@ -94,7 +94,7 @@ class Configuration extends BaseModel
* Backward-compatible helper (keeps your "semester" special-case).
*
* NOTE: In Laravel its better to call SemesterRangeService directly from services/controllers,
* but this keeps behavior consistent with the CI model.
* but this keeps behavior consistent with the legacy model.
*/
public static function getConfig(string $key): ?string
{
@@ -103,7 +103,7 @@ class Configuration extends BaseModel
if ($key === 'semester') {
try {
// If you have this service in Laravel, inject/resolve it from container.
// This call assumes the service constructor can accept Configuration model (like CI did).
// This call assumes the service constructor can accept Configuration model (like legacy did).
$semester = app(\App\Services\SemesterRangeService::class)->getSemesterForDate();
if (is_string($semester) && $semester !== '') {
return $semester;