diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-07-24 08:25:57 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-07-24 08:25:57 -0700 |
| commit | ad47d826cf3b1a083449287975958cb2e2f2a3c2 (patch) | |
| tree | 8dd247d971c84eea2dad64c54b462f8774e8814d /modules/gallery/controllers/admin_graphics.php | |
| parent | 403f64bf2a91fe3ac2496a0a6a6180ece26afd82 (diff) | |
| parent | 0672c8f83f068c546454bacefac123b5acb508cc (diff) | |
Merge pull request #51 from chadparry/rawphoto-squash
Chad Parry's framework enhancement to support replacing an image with a new version of a different mime type. This includes code that centralizes file type management and fixes some latent issues around the relative url and path caching getting out of date.
Diffstat (limited to 'modules/gallery/controllers/admin_graphics.php')
| -rw-r--r-- | modules/gallery/controllers/admin_graphics.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_graphics.php b/modules/gallery/controllers/admin_graphics.php index a2d19d4a..a8a7cdc0 100644 --- a/modules/gallery/controllers/admin_graphics.php +++ b/modules/gallery/controllers/admin_graphics.php @@ -40,6 +40,8 @@ class Admin_Graphics_Controller extends Admin_Controller { $msg = t("Changed graphics toolkit to: %toolkit", array("toolkit" => $tk->$toolkit_id->name)); message::success($msg); log::success("graphics", $msg); + + module::event("graphics_toolkit_change", $toolkit_id); } url::redirect("admin/graphics"); |
