Skip to content
Snippets Groups Projects
Commit e96dde62 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #417

parent 15346e16
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class User extends AuthUserMd5 implements Range, PrivacyObject ...@@ -151,7 +151,7 @@ class User extends AuthUserMd5 implements Range, PrivacyObject
]; ];
$config['has_many']['consultation_blocks'] = [ $config['has_many']['consultation_blocks'] = [
'class_name' => ConsultationBlock::class, 'class_name' => ConsultationBlock::class,
'assoc_foreign_key' => 'teacher_id', 'assoc_foreign_key' => 'range_id',
'on_delete' => 'delete', 'on_delete' => 'delete',
]; ];
$config['has_many']['consultation_bookings'] = [ $config['has_many']['consultation_bookings'] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment