File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121$ tpl = new Template ($ templateName );
2222
2323$ teacher = api_is_platform_admin ();
24- api_protect_course_script (true );
24+ api_protect_admin_script (true );
2525
2626if ($ teacher ) {
2727 // sync course table with the plugin
Original file line number Diff line number Diff line change 1818
1919$ tpl = new Template ($ templateName );
2020$ teacher = api_is_platform_admin ();
21- api_protect_course_script (true );
21+ api_protect_admin_script (true );
2222
2323if ($ teacher ) {
2424 // Sync course table with the plugin
Original file line number Diff line number Diff line change 1919$ tpl = new Template ($ tableName );
2020
2121$ teacher = api_is_platform_admin ();
22- api_protect_course_script (true );
22+ api_protect_admin_script (true );
2323
2424if ($ teacher ) {
2525 $ pendingList = pendingList ($ _SESSION ['bc_codetext ' ]);
You can’t perform that action at this time.
0 commit comments