/** * Truncate narro_suggestion_vote table * @return void */ public static function Truncate() { // Get the Database Object for this Class $objDatabase = NarroSuggestionVote::GetDatabase(); // Perform the Query $objDatabase->NonQuery(' TRUNCATE `narro_suggestion_vote`'); if (QApplication::$objCacheProvider && QApplication::$Database[1]->Caching) { QApplication::$objCacheProvider->DeleteAll(); } }