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
+4 -4
View File
@@ -11,7 +11,7 @@ class Staff extends BaseModel
protected $table = 'staff';
/**
* CI: timestamps managed manually (created_at/updated_at set by caller/controller)
* legacy: timestamps managed manually (created_at/updated_at set by caller/controller)
*/
public $timestamps = false;
@@ -66,7 +66,7 @@ class Staff extends BaseModel
}
/* ============================================================
* CI-compatible methods
* legacy-compatible methods
* ============================================================
*/
@@ -104,7 +104,7 @@ class Staff extends BaseModel
$userId = (int) $data['user_id'];
// Resolve school_year fallback like your CI logic
// Resolve school_year fallback like your legacy logic
$schoolYear = $data['school_year'] ?? null;
if ($schoolYear === null) {
$existingAny = static::query()
@@ -177,7 +177,7 @@ class Staff extends BaseModel
}
/**
* CI-compatible boolean wrapper if you want the same signature.
* legacy-compatible boolean wrapper if you want the same signature.
*/
public static function upsertBool(array $data): bool
{