Commit 4d492fed authored by alexpott's avatar alexpott
Browse files

Issue #2003284 by phenaproxima, heddn: Remove Views method set_header().

parent a7f6b939
......@@ -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 @@ function set_count_field($table, $field, $alias = NULL) {
);
}
/**
* 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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment