/**
  * Determine if a database supports a particular feature.
  *
  * Overridden here to work around differences between bbPress's
  * and WordPress's implementations. In particular, when
  * BuddyPress tries to run bbPress' SQL installation script,
  * the collation check always failed. The capability is long
  * supported by WordPress' minimum required MySQL version, so
  * this is safe.
  *
  * @see WPDB::has_cap() for a description of parameters and
  *      return values.
  *
  * @param string $db_cap See {@link WPDB::has_cap()}.
  * @param string $_table_name See {@link WPDB::has_cap()}.
  * @return bool See {@link WPDB::has_cap()}.
  */
 function has_cap($db_cap, $_table_name = '')
 {
     if ('collation' == $db_cap) {
         return true;
     }
     return parent::has_cap($db_cap);
 }