removed unneeded cache

This commit is contained in:
Scott Davis 2011-06-09 15:44:10 -04:00
parent 7e583e5f58
commit b8811780ef

View File

@ -56,12 +56,10 @@ module Compass
end end
def self.path_and_name(uri) def self.path_and_name(uri)
Compass.quick_cache "Sprite_map_name:#{uri}", 5 do
if uri =~ SPRITE_IMPORTER_REGEX if uri =~ SPRITE_IMPORTER_REGEX
[$1, $3] [$1, $3]
else else
[nil, nil] raise Compass::Error "invalid sprite path"
end
end end
end end