From d452dd7d11475c1803f78249c4c6834f389e4a3b Mon Sep 17 00:00:00 2001 From: Willian Mano Date: Tue, 21 Nov 2017 18:35:42 -0300 Subject: [PATCH] Add shortname to services file (#280) --- db/services.php | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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' + ) +);