mod_measure_registration/mod_measure_registration.lua
author Matthew Wild <mwild1@gmail.com>
Sat, 24 Sep 2022 09:26:26 +0100
changeset 5063 5f1120c284c5
parent 3955 32d9d155a9b9
permissions -rw-r--r--
mod_cloud_notify_extensions: Add note about dependency Noting here because people might not click through to see it on the mod_cloud_notify_encrypted page.

local count_registering = module:measure("user_registering", "rate");
local count_registered = module:measure("user_registered", "rate");

module:hook("user-registering", function ()
	count_registering();
end);

module:hook("user-registered", function ()
	count_registered();
end);