summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Parry <github@chad.parry.org>2011-04-21 20:12:32 -0600
committerChad Parry <github@chad.parry.org>2011-04-21 20:12:32 -0600
commit567522bfa08c370bb5baf8454afc5b04bc9e49b4 (patch)
treeb31c011039df1fef8bbed6dd49bef82479853839
parent31ba081b793141ca36866a6dd349cd2eac5af68e (diff)
Add an event for when a new graphics toolkit is chosen.
-rw-r--r--modules/gallery/controllers/admin_graphics.php2
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");