Browse Source

Add shortname to services file (#280)

MOODLE_35_STABLE
Willian Mano 7 years ago
committed by Dan Marsden
parent
commit
d452dd7d11
  1. 17
      db/services.php

17
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. // 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', $services = array(
'mod_wsattendance_get_session', 'Attendance' => array(
'mod_wsattendance_update_user_status'), 'functions' => array(
'restrictedusers' => 0, 'mod_wsattendance_get_courses_with_today_sessions',
'enabled' => 1)); 'mod_wsattendance_get_session',
'mod_wsattendance_update_user_status'
),
'restrictedusers' => 0,
'enabled' => 1,
'shortname' => 'mod_attendance_ws'
)
);

Loading…
Cancel
Save