PERF: Remove extra PG query.

PERF: Remove extra PG query.

In Theme.list_baked_fields, common is always included as a target.

diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rb
index 9c719ef..4461cfb 100644
--- a/lib/stylesheet/manager.rb
+++ b/lib/stylesheet/manager.rb
@@ -395,8 +395,7 @@ class Stylesheet::Manager
 
   def theme_digest
     if [:mobile_theme, :desktop_theme].include?(@target)
-      scss_digest = theme.resolve_baked_field(:common, :scss)
-      scss_digest += theme.resolve_baked_field(@target.to_s.sub("_theme", ""), :scss)
+      scss_digest = theme.resolve_baked_field(@target.to_s.sub("_theme", ""), :scss)
     elsif @target == :embedded_theme
       scss_digest = theme.resolve_baked_field(:common, :embedded_scss)
     else

GitHub sha: 5f8f139ac92256142194141921ca95e1ee315369

This commit appears in #13363 which was approved by davidtaylorhq. It was merged by tgxworld.