/** * This is called at the end of the Generator script. * Calls the Profiler output if the profiler is enabled. * * @return void */ public function end() { Piwik_Tracker::disconnectDatabase(); if ($this->profiling) { Piwik::printSqlProfilingReportTracker(); } }