Remove the check for spaces variable and use variable_get instead.  #2126