Issue #2003284 by phenaproxima, heddn: Remove Views method set_header().
parent
a7f6b939f9
commit
4d492fedba
|
@ -79,13 +79,6 @@ class Sql extends QueryPluginBase {
|
|||
*/
|
||||
var $fields = array();
|
||||
|
||||
|
||||
/**
|
||||
* The table header to use for tablesort. This matters because tablesort
|
||||
* needs to modify the query and needs the header.
|
||||
*/
|
||||
var $header = array();
|
||||
|
||||
/**
|
||||
* A flag as to whether or not to make the primary field distinct.
|
||||
*/
|
||||
|
@ -179,14 +172,6 @@ class Sql extends QueryPluginBase {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the table header; used for click-sorting because it's needed
|
||||
* info to modify the ORDER BY clause.
|
||||
*/
|
||||
function set_header($header) {
|
||||
$this->header = $header;
|
||||
}
|
||||
|
||||
protected function defineOptions() {
|
||||
$options = parent::defineOptions();
|
||||
$options['disable_sql_rewrite'] = array(
|
||||
|
|
Loading…
Reference in New Issue