Skip to content

Commit

Permalink
Merge pull request #1 from hrevert/cache
Browse files Browse the repository at this point in the history
Added HtImgModule dependancy to 0.0.2
  • Loading branch information
ojhaujjwal committed Mar 25, 2014
2 parents 95cbcb4 + 9683ed5 commit 36bc151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": ">=5.4",
"zendframework/zendframework": "~2.1",
"zf-commons/zfc-base": "0.1.2",
"hrevert/ht-img-module": "0.0.*"
"hrevert/ht-img-module": "~0.0.2"
},
"autoload": {
"psr-0": {
Expand Down
2 changes: 1 addition & 1 deletion src/HtCustomerLogo/EventManager/LogoUploadListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function deleteCache(Event $e)
$options = $service->getOptions();
$filters = array_merge([$options->getDefaultDisplayFilter()], $options->getDisplayFilters());
foreach ($filters as $filter) {
$cacheManager->deleteCache('htcustomerlogo', $filter, 'png');
$cacheManager->deleteCache('htcustomerlogo', $filter, $uploadTarget);
}
}

Expand Down

0 comments on commit 36bc151

Please sign in to comment.