Permalink
Browse files

Mark image services as non public, so that optimizers can remove them…

… if not used
  • Loading branch information...
1 parent 584fd7b commit 4cc49a2eac55ae67df6bda773c41ca204c7432f2 @lstrojny lstrojny committed Mar 27, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Resources/config/imagine.xml
@@ -90,14 +90,14 @@
</service>
<!-- ImagineInterface instances -->
-
+
<service id="liip_imagine" alias="liip_imagine.gd" />
- <service id="liip_imagine.gd" class="%liip_imagine.gd.class%" />
+ <service id="liip_imagine.gd" class="%liip_imagine.gd.class%" public="false" />
- <service id="liip_imagine.imagick" class="%liip_imagine.imagick.class%" />
+ <service id="liip_imagine.imagick" class="%liip_imagine.imagick.class%" public="false" />
- <service id="liip_imagine.gmagick" class="%liip_imagine.gmagick.class%" />
+ <service id="liip_imagine.gmagick" class="%liip_imagine.gmagick.class%" public="false" />
<!-- Templating helpers and extensions -->

0 comments on commit 4cc49a2

Please sign in to comment.