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
@@ -8,7 +8,7 @@ class IpAttempt extends BaseModel
{
protected $table = 'ip_attempts';
// ✅ CI: useTimestamps = true (created_at/updated_at)
// ✅ legacy: useTimestamps = true (created_at/updated_at)
public $timestamps = true;
protected $fillable = [
@@ -27,7 +27,7 @@ class IpAttempt extends BaseModel
];
/**
* Equivalent of CI getAttemptByIp()
* Equivalent of legacy getAttemptByIp()
*/
public static function getAttemptByIp(string $ip): ?self
{
@@ -37,7 +37,7 @@ class IpAttempt extends BaseModel
}
/**
* Equivalent of CI updateIpAttempt()
* Equivalent of legacy updateIpAttempt()
*/
public static function updateIpAttempt(string $ip, array $data): bool
{
@@ -47,7 +47,7 @@ class IpAttempt extends BaseModel
}
/**
* Equivalent of CI insertIpAttempt()
* Equivalent of legacy insertIpAttempt()
* Returns inserted id.
*/
public static function insertIpAttempt(array $data): int