diff --git a/classes/report_table.php b/classes/report_table.php index 5fcd71c..f3eddd5 100644 --- a/classes/report_table.php +++ b/classes/report_table.php @@ -67,13 +67,11 @@ class report_table extends \table_sql { $columns = array( 'fullname', - 'timecreated', - 'code' + 'timecreated' ); $headers = array( get_string('fullname'), - get_string('receiveddate', 'customcert'), - get_string('code', 'customcert') + get_string('receiveddate', 'customcert') ); // Check if we were passed a filename, which means we want to download it. @@ -95,7 +93,6 @@ class report_table extends \table_sql { $this->define_headers($headers); $this->collapsible(false); $this->sortable(true); - $this->no_sorting('code'); $this->no_sorting('download'); $this->is_downloadable(true); @@ -130,16 +127,6 @@ class report_table extends \table_sql { return userdate($user->timecreated); } - /** - * Generate the code column. - * - * @param \stdClass $user - * @return string - */ - public function col_code($user) { - return $user->code; - } - /** * Generate the download column. *