/**
  * Delete all registered activity
  *
  * @access	private
  */
 private function delete()
 {
     if (VPost::reset(false) && $this->_user['delete_content']) {
         try {
             $this->_db->query('TRUNCATE TABLE ' . DB_PREFIX . 'activity');
             $result = true;
         } catch (Exception $e) {
             $result = $e->getMessage();
         }
         $this->_action_msg = ActionMessages::deleted($result);
     } elseif (VPost::reset(false) && !$this->_user['delete_content']) {
         $this->_action_msg = ActionMessages::action_no_perm();
     }
 }