function uninstall()
 {
     $query = new DB_Table_Delete(Timeline::getTables());
     global $application;
     $application->db->getDB_Result($query);
 }
 function initQuery($params)
 {
     $tables = Timeline::getTables();
     $o = $tables['timeline']['columns'];
     if ($params['log_type'] != 'All') {
         $this->WhereField($o['type'], DB_EQ, "'" . $params['log_type'] . "'");
     }
 }