Merge branch 'wip-mdl-42584' of https://github.com/rajeshtaneja/moodle
authorMarina Glancy <marina@moodle.com>
Fri, 1 Nov 2013 02:04:29 +0000 (13:04 +1100)
committerMarina Glancy <marina@moodle.com>
Fri, 1 Nov 2013 02:04:29 +0000 (13:04 +1100)
Conflicts:
lib/classes/event/user_deleted.php

1  2 
lib/classes/event/user_deleted.php

@@@ -58,8 -58,8 +58,8 @@@ class user_deleted extends base 
       * @return string
       */
      public function get_description() {
 -        $user = (object)$this->other['user'];
 +        $user = $this->get_record_snapshot('user', $this->data['objectid']);
-         return 'User profile deleted for user '.$user->firstname.' '.$user->lastname.' id ('.$user->id.')';
+         return 'User profile deleted for userid ' . $user->id;
      }
  
      /**