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
@@ -8,7 +8,7 @@ class EmergencyContact extends BaseModel
{
protected $table = 'emergency_contacts';
// ✅ CI: useTimestamps = true (created_at/updated_at)
// ✅ legacy: useTimestamps = true (created_at/updated_at)
public $timestamps = true;
protected $fillable = [
@@ -46,7 +46,7 @@ class EmergencyContact extends BaseModel
}
/* =========================
* CI method equivalents
* legacy method equivalents
* ========================= */
public static function getEmergencyContactsByStudentId(int $studentId)
@@ -64,7 +64,7 @@ class EmergencyContact extends BaseModel
}
/**
* Your CI logic: (student_id = $studentId) OR (parent_id = $studentId)
* Your legacy logic: (student_id = $studentId) OR (parent_id = $studentId)
* Keeping it exactly as-is, even though the 2nd condition looks unusual.
*/
public static function getAllEmergencyContacts(int $studentId)