Skip to content

Commit be3333c

Browse files
author
Noemie Ariste
committed
Remove deprecated report builder default table alias
1 parent cbbc733 commit be3333c

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

classes/reportbuilder/local/entities/issue.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,15 @@
3939
*/
4040
class issue extends base {
4141

42-
/**
43-
* Database tables that this entity uses and their default aliases
44-
*
45-
* @return array
46-
*/
47-
protected function get_default_table_aliases(): array {
48-
return ['tool_certificate_issues' => 'tci'];
49-
}
50-
5142
/**
5243
* Database tables that this entity uses
5344
*
5445
* @return string[]
5546
*/
5647
protected function get_default_tables(): array {
57-
return array_keys($this->get_default_table_aliases());
48+
return [
49+
'tool_certificate_issues',
50+
];
5851
}
5952

6053
/**

classes/reportbuilder/local/entities/template.php

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,15 @@
3939
*/
4040
class template extends base {
4141

42-
/**
43-
* Database tables that this entity uses and their default aliases
44-
*
45-
* @return array
46-
*/
47-
protected function get_default_table_aliases(): array {
48-
return [
49-
'tool_certificate_templates' => 'tct',
50-
];
51-
}
52-
5342
/**
5443
* Database tables that this entity uses
5544
*
5645
* @return string[]
5746
*/
5847
protected function get_default_tables(): array {
59-
return array_keys($this->get_default_table_aliases());
48+
return [
49+
'tool_certificate_templates',
50+
];
6051
}
6152

6253
/**

0 commit comments

Comments
 (0)