From: <bh...@us...> - 2009-01-28 09:45:54
|
Revision: 19916 http://gallery.svn.sourceforge.net/gallery/?rev=19916&view=rev Author: bharat Date: 2009-01-28 09:45:52 +0000 (Wed, 28 Jan 2009) Log Message: ----------- Add module name to log::success() calls Modified Paths: -------------- gallery3/trunk/modules/recaptcha/controllers/admin_recaptcha.php Modified: gallery3/trunk/modules/recaptcha/controllers/admin_recaptcha.php =================================================================== --- gallery3/trunk/modules/recaptcha/controllers/admin_recaptcha.php 2009-01-28 08:24:07 UTC (rev 19915) +++ gallery3/trunk/modules/recaptcha/controllers/admin_recaptcha.php 2009-01-28 09:45:52 UTC (rev 19916) @@ -31,7 +31,7 @@ module::set_var("recaptcha", "public_key", $public_key); module::set_var("recaptcha", "private_key", $private_key); message::success(t("Recaptcha configured!")); - log::success(t("Recaptcha public and private keys set")); + log::success("recaptcha", t("Recaptcha public and private keys set")); url::redirect("admin/recaptcha"); } else if ($public_key && !$private_key) { $form->configure_recaptcha->private_key->add_error("invalid"); @@ -41,7 +41,7 @@ module::set_var("recaptcha", "public_key", ""); module::set_var("recaptcha", "private_key", ""); message::success(t("Recaptcha disabled!")); - log::success(t("Recaptcha public and private keys cleared")); + log::success("recaptcha", t("Recaptcha public and private keys cleared")); url::redirect("admin/recaptcha"); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |