diff --git a/db/services.php b/db/services.php index 274f023..e860d6c 100644 --- a/db/services.php +++ b/db/services.php @@ -51,8 +51,15 @@ $functions = array( // We define the services to install as pre-build services. A pre-build service is not editable by administrator. -$services = array('Attendance' => array('functions' => array('mod_wsattendance_get_courses_with_today_sessions', - 'mod_wsattendance_get_session', - 'mod_wsattendance_update_user_status'), - 'restrictedusers' => 0, - 'enabled' => 1)); +$services = array( + 'Attendance' => array( + 'functions' => array( + 'mod_wsattendance_get_courses_with_today_sessions', + 'mod_wsattendance_get_session', + 'mod_wsattendance_update_user_status' + ), + 'restrictedusers' => 0, + 'enabled' => 1, + 'shortname' => 'mod_attendance_ws' + ) +);