remove codeigniter
This commit is contained in:
@@ -58,13 +58,13 @@ class Section extends BaseModel
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* CI-compatible methods
|
||||
* legacy-compatible methods
|
||||
* ============================================================
|
||||
*/
|
||||
|
||||
/**
|
||||
* Get section by name.
|
||||
* CI: getSectionByName()
|
||||
* legacy: getSectionByName()
|
||||
*/
|
||||
public static function getSectionByName(string $sectionName): ?self
|
||||
{
|
||||
@@ -73,7 +73,7 @@ class Section extends BaseModel
|
||||
|
||||
/**
|
||||
* Update section details by ID.
|
||||
* CI: updateSection() (Laravel automatically updates updated_at)
|
||||
* legacy: updateSection() (Laravel automatically updates updated_at)
|
||||
*/
|
||||
public static function updateSection(int $sectionId, array $data): bool
|
||||
{
|
||||
@@ -86,7 +86,7 @@ class Section extends BaseModel
|
||||
|
||||
/**
|
||||
* Delete section by ID.
|
||||
* CI: deleteSection()
|
||||
* legacy: deleteSection()
|
||||
*/
|
||||
public static function deleteSection(int $sectionId): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user