mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
commenting out unfinished function implementation
This commit is contained in:
parent
cd16141e6d
commit
d91181dc67
@ -114,12 +114,15 @@ function blog_user_can_view_user_entry($targetuserid, $blogentry=null) {
|
||||
*/
|
||||
function blog_remove_associations_for_user($userid) {
|
||||
global $DB;
|
||||
throw new coding_exception('function blog_remove_associations_for_user() is not finished');
|
||||
/*
|
||||
$blogentries = blog_fetch_entries(array('user' => $userid), 'lasmodified DESC');
|
||||
foreach ($blogentries as $entry) {
|
||||
if (blog_user_can_edit_entry($entry)) {
|
||||
blog_remove_associations_for_entry($entry->id);
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user