Temporary tables optimisation: use only the one required (#951)

This commit is contained in:
FrancescoUK committed 2016-10-30 17:03:16 +00:00
1 parent 94141e21db
commit 6f444b1a33
17 files changed
+48 -5

No files matched your search

-5
View File
@@ -10,11 +10,6 @@ abstract class Report extends CI_Model
$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate');
$this->output->set_header('Cache-Control: post-check=0, pre-check=0', FALSE);
$this->output->set_header('Pragma: no-cache');
//Create our temp tables to work with the data in our report
$this->Sale->create_temp_table();
$this->Receiving->create_temp_table();
$this->Item->create_temp_table();
}
//Returns the column names used for the report