private static function shouldKeepURLFragmentsFor($site)
    {
        if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_YES) {
            return true;
        } else if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_NO) {
            return false;
        }

        return API::getInstance()->getKeepURLFragmentsGlobal();
    }
private static function shouldKeepURLFragmentsFor($site)
    {
        if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_YES) {
            return true;
        } else if ($site['keep_url_fragment'] == self::KEEP_URL_FRAGMENT_NO) {
            return false;
        }

        return API::getInstance()->getKeepURLFragmentsGlobal();
    }
private static function shouldKeepURLFragmentsFor ( $ site ) { if ( $ site [ 'keep_url_fragment' ] == self :: KEEP_URL_FRAGMENT_YES ) { return true ; } else if ( $ site [ 'keep_url_fragment' ] == self :: KEEP_URL_FRAGMENT_NO ) { return false ; } return API :: getInstance ( ) -> getKeepURLFragmentsGlobal ( ) ; }
Returns whether we should keep URL fragments for a specific site.

@param array $site DB data for the site.
@return bool
Returns whether we should keep URL fragments for a specific site .