Skip to content

Commit f90c5f0

Browse files
committed
Session: Remove general coach requirement on session edit (2/2) - refs #7149
1 parent 19ae9a3 commit f90c5f0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

public/main/inc/lib/sessionmanager.lib.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,12 +1830,6 @@ public static function edit_session(
18301830
Display::return_message(get_lang('A name is required for the session'), 'warning')
18311831
);
18321832

1833-
return false;
1834-
} elseif (empty($coachesId)) {
1835-
Display::addFlash(
1836-
Display::return_message(get_lang('You must select a coach'), 'warning')
1837-
);
1838-
18391833
return false;
18401834
} elseif (!empty($startDate) &&
18411835
!api_is_valid_date($startDate, 'Y-m-d H:i') &&

0 commit comments

Comments
 (0)