rss MDL-22204 added library functions to allow the user to get a new rss token
This commit is contained in:
+3
-4
@@ -333,10 +333,9 @@ function rss_get_token($userid) {
|
||||
return get_user_key('rss', $userid);
|
||||
}
|
||||
|
||||
/*function rss_update_token_last_access($userid) {
|
||||
global $DB;
|
||||
$DB->set_field('rss_tokens', 'lastaccess', time(), array('userid'=>$userid));
|
||||
}*/
|
||||
function rss_delete_token($userid) {
|
||||
delete_user_key('rss', $userid);
|
||||
}
|
||||
|
||||
// ===== This function are used to write XML tags =========
|
||||
// [stronk7]: They are similar to the glossary export and backup generation
|
||||
|
||||
Reference in New Issue
Block a user