remove codeigniter
This commit is contained in:
@@ -10,7 +10,7 @@ class Homework extends BaseModel
|
||||
protected $table = 'homework';
|
||||
|
||||
/**
|
||||
* CI: useTimestamps = false (even though created_at/updated_at columns exist).
|
||||
* legacy: useTimestamps = false (even though created_at/updated_at columns exist).
|
||||
* Keep it OFF to match behavior. If you want Laravel to auto-manage, tell me.
|
||||
*/
|
||||
public $timestamps = false;
|
||||
@@ -55,7 +55,7 @@ class Homework extends BaseModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Laravel equivalent of CI getAverageHomeworkScore()
|
||||
* Laravel equivalent of legacy getAverageHomeworkScore()
|
||||
* Computes average based only on non-blank numeric scores.
|
||||
*/
|
||||
public static function getAverageHomeworkScore(
|
||||
|
||||
Reference in New Issue
Block a user