mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
3.2.5
This commit is contained in:
@@ -25,4 +25,9 @@ class Course extends Model
|
||||
{
|
||||
return $this->morphMany('App\Log', 'logable');
|
||||
}
|
||||
|
||||
public function use_course()
|
||||
{
|
||||
return $this->name == "" && $this->ocom == "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user