Skip to content
Permalink
Browse files

MDL-43671 message: removed an overly cautious check

  • Loading branch information...
andyjdavis committed Jan 16, 2014
1 parent 9c1c9d8 commit 9fade08632b95d57e5ac030e946a0feda56cbd97
Showing with 0 additions and 4 deletions.
  1. +0 −4 message/index.php
@@ -114,10 +114,6 @@
$showactionlinks = $showactionlinks && $user2realuser;
$systemcontext = context_system::instance();
if (!empty($user2) && $user1->id == $user2->id) {
print_error('invaliduserid');
}
// Is the user involved in the conversation?
// Do they have the ability to read other user's conversations?
if (!message_current_user_is_involved($user1, $user2) && !has_capability('moodle/site:readallmessages', $systemcontext)) {

0 comments on commit 9fade08

Please sign in to comment.
You can’t perform that action at this time.