summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-10 21:57:09 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-10 21:57:09 +0000
commite947e771d37aa5ad7d7e1a0dc4ae13cc7c63ce60 (patch)
tree515e6b32064f3f04ad04efeff8730c6e7a50a265
parentfbcb01caca780bb9507d554cf84c6e7e093c3a24 (diff)
remove_rule() should mark thumbs/resizes dirty also. Resolves ticket #269, thanks jstricker!
-rw-r--r--core/helpers/graphics.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php
index ed6f314d..e591e465 100644
--- a/core/helpers/graphics.php
+++ b/core/helpers/graphics.php
@@ -63,6 +63,8 @@ class graphics_Core {
->where("target", $target)
->where("operation", $operation)
->delete_all();
+
+ self::mark_dirty($target == "thumb", $target == "resize");
}
/**