Skip to content

Commit

Permalink
Merge pull request #61 from pantheon-systems/fix_pantheon_api_image_p…
Browse files Browse the repository at this point in the history
…ath_flush

Regression fix for: pantheon_api.module::pantheon_api_image_path_flush
  • Loading branch information
kibra committed Apr 13, 2015
2 parents 7e5f2b5 + 798244d commit c675bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pantheon/pantheon_api/pantheon_api.module
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function pantheon_api_image_path_flush($path) {
$paths = array();
foreach($styles as $style) {
$image_path = image_style_path($style['name'], $path);
$paths[] = file_uri_target($image_path);
$paths[] = '/' . file_uri_target($image_path);
}
if (count($paths) > 0 && function_exists('pantheon_bulk_file_delete')) {
pantheon_bulk_file_delete($paths);
Expand Down

0 comments on commit c675bba

Please sign in to comment.