Remove call to global

This prevents a syntax error in Rails.