summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrel O\'Pry2008-01-18 08:27:31 (GMT)
committer Darrel O\'Pry2008-01-18 08:27:31 (GMT)
commit8a924512730b88df39b0aef76fbc5668dab3fe38 (patch)
tree07f4e0694aee5961710d432e63e9e3ef86516ce2
parent46ce7350c1618317e66d30d246b83f7a64557838 (diff)
#209984, imageapi_image_close called twice... oops. tnx for pointing it out http://drupal.org/user/216078#209984, imageapi_image_close called twice... oops. tnx for pointing it out http://drupal.org/user/216078
-rw-r--r--imagecache.module2
1 files changed, 0 insertions, 2 deletions
diff --git a/imagecache.module b/imagecache.module
index e045e54..d0b5b76 100644
--- a/imagecache.module
+++ b/imagecache.module
@@ -481,8 +481,6 @@ function imagecache_build_derivative($actions, $src, $dst) {
}
}
- imageapi_image_close($image, $dst);
-
if (!imageapi_image_close($image, $dst)) {
if (file_exists($dst)) {
watchdog('imagecache', t('Cached image file already exists. There is an issue with your Rewrite configuration.'), WATCHDOG_ERROR);