mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-30 01:59:11 -04:00
Add an event for when a new graphics toolkit is chosen.
This commit is contained in:
@@ -40,6 +40,8 @@ class Admin_Graphics_Controller extends Admin_Controller {
|
|||||||
$msg = t("Changed graphics toolkit to: %toolkit", array("toolkit" => $tk->$toolkit_id->name));
|
$msg = t("Changed graphics toolkit to: %toolkit", array("toolkit" => $tk->$toolkit_id->name));
|
||||||
message::success($msg);
|
message::success($msg);
|
||||||
log::success("graphics", $msg);
|
log::success("graphics", $msg);
|
||||||
|
|
||||||
|
module::event("graphics_toolkit_change", $toolkit_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
url::redirect("admin/graphics");
|
url::redirect("admin/graphics");
|
||||||
|
|||||||
Reference in New Issue
Block a user