diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-02-27 09:12:13 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-02-27 09:12:13 -0800 |
commit | 7c94b930ed029342de54c0a73c59b67f1dad7d1e (patch) | |
tree | d4436b228eac2d35f8b1da569bf174f73119bf94 /modules/gallery/controllers | |
parent | 555dfd341e2bcce518289daa3b6c533628cadc49 (diff) | |
parent | 891a24151ee7dd197c623b4f482f260009d67096 (diff) |
Merge pull request #169 from shadlaws/fix_2021
#2021 - Cleanup thumb_dirty and resize_dirty instances.
Diffstat (limited to 'modules/gallery/controllers')
-rw-r--r-- | modules/gallery/controllers/admin_theme_options.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gallery/controllers/admin_theme_options.php b/modules/gallery/controllers/admin_theme_options.php index aead8bae..38d2b0a8 100644 --- a/modules/gallery/controllers/admin_theme_options.php +++ b/modules/gallery/controllers/admin_theme_options.php @@ -34,7 +34,6 @@ class Admin_Theme_Options_Controller extends Admin_Controller { module::set_var("gallery", "page_size", $form->edit_theme->page_size->value); $thumb_size = $form->edit_theme->thumb_size->value; - $thumb_dirty = false; if (module::get_var("gallery", "thumb_size") != $thumb_size) { graphics::remove_rule("gallery", "thumb", "gallery_graphics::resize"); graphics::add_rule( @@ -45,7 +44,6 @@ class Admin_Theme_Options_Controller extends Admin_Controller { } $resize_size = $form->edit_theme->resize_size->value; - $resize_dirty = false; if (module::get_var("gallery", "resize_size") != $resize_size) { graphics::remove_rule("gallery", "resize", "gallery_graphics::resize"); graphics::add_rule( |