original_string: public static function user_deleted(\core\event\user_deleted $event) {
          global $DB;
  
          $userid = $event->objectid;
  
          return $DB->delete_records(linked_login::TABLE, ['userid' => $userid]);
      }
code: public static function user_deleted(\core\event\user_deleted $event) {
          global $DB;
  
          $userid = $event->objectid;
  
          return $DB->delete_records(linked_login::TABLE, ['userid' => $userid]);
      }
code_tokens: public static function user_deleted ( \ core \ event \ user_deleted $ event ) { global $ DB ; $ userid = $ event -> objectid ; return $ DB -> delete_records ( linked_login :: TABLE , [ 'userid' => $ userid ] ) ; }
docstring: Delete linked logins for a user.
  
  @param \core\event\user_deleted $event
  @return boolean
docstring_tokens: Delete linked logins for a user .