Added image-cache:clear console command

This commit is contained in:
franck
2013-08-15 21:18:16 +02:00
parent d61eeef0d6
commit f028d2b2db
5 changed files with 80 additions and 3 deletions

View File

@@ -490,9 +490,8 @@ class Image extends BaseAction implements EventSubscriberInterface
public static function getSubscribedEvents()
{
return array(
TheliaEvents::IMAGE_PROCESS => array(
"processImage", 128
),
TheliaEvents::IMAGE_PROCESS => array("processImage", 128),
TheliaEvents::IMAGE_CLEAR_CACHE => array("clearCache", 128),
);
}
}