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