Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-30070-master' of git://github.com/FMCorz/moodle
  • Loading branch information
danpoltawski committed Jan 15, 2013
2 parents d7738ce + d673160 commit 2773aa4
Show file tree
Hide file tree
Showing 6 changed files with 786 additions and 22 deletions.
1 change: 1 addition & 0 deletions lang/en/error.php
Expand Up @@ -430,6 +430,7 @@
$string['prefixtoolong'] = '<p>Error: database table prefix is too long ({$a->dbfamily})</p>
<p>The site administrator must fix this problem. Maximum length for table prefixes in {$a->dbfamily} is {$a->maxlength} characters.</p>';
$string['processingstops'] = 'Processing stops here. Remaining records ignored.';
$string['querystringcannotbeempty'] = 'The query string cannot be empty.';
$string['redirecterrordetected'] = 'Unsupported redirect detected, script execution terminated';
$string['refoundto'] = 'Can be refunded to {$a}';
$string['refoundtoorigi'] = 'Refunded to original amount: {$a}';
Expand Down
54 changes: 54 additions & 0 deletions lib/db/services.php
Expand Up @@ -581,6 +581,60 @@
'capabilities'=> 'moodle/site:sendmessage',
),

'core_message_create_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'create_contacts',
'classpath' => 'message/externallib.php',
'description' => 'Add contacts to the contact list',
'type' => 'write',
'capabilities'=> '',
),

'core_message_delete_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'delete_contacts',
'classpath' => 'message/externallib.php',
'description' => 'Remove contacts from the contact list',
'type' => 'write',
'capabilities'=> '',
),

'core_message_block_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'block_contacts',
'classpath' => 'message/externallib.php',
'description' => 'Block contacts',
'type' => 'write',
'capabilities'=> '',
),

'core_message_unblock_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'unblock_contacts',
'classpath' => 'message/externallib.php',
'description' => 'Unblock contacts',
'type' => 'write',
'capabilities'=> '',
),

'core_message_get_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'get_contacts',
'classpath' => 'message/externallib.php',
'description' => 'Retrieve the contact list',
'type' => 'read',
'capabilities'=> '',
),

'core_message_search_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'search_contacts',
'classpath' => 'message/externallib.php',
'description' => 'Search for contacts',
'type' => 'read',
'capabilities'=> '',
),

// === notes related functions ===

'moodle_notes_create_notes' => array(
Expand Down

0 comments on commit 2773aa4

Please sign in to comment.