summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-10-26 21:30:01 -0400
committerMalf Furious <m@lfurio.us>2018-10-26 21:30:01 -0400
commit3e0aa02f2051300fbe255c578ed2717a71b65954 (patch)
tree6d7bb828c87e77eca946ce0c958c290e0dac1a2d
parentf041e8a5fed0a1bc9be9aa9665f58e6f5a55879b (diff)
downloadscrott-3e0aa02f2051300fbe255c578ed2717a71b65954.tar.gz
scrott-3e0aa02f2051300fbe255c578ed2717a71b65954.zip
settings: Add log event when admin alters global settings
Signed-off-by: Malf Furious <m@lfurio.us>
-rw-r--r--app/model/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/model/settings.php b/app/model/settings.php
index a3afa0f..3293122 100644
--- a/app/model/settings.php
+++ b/app/model/settings.php
@@ -137,6 +137,8 @@ if (isAction("settings-admin"))
if ($form->smtpPasswd != "")
settings::smtpPasswd($form->smtpPasswd);
+
+ $log = mesg::initNewAdminLog("%s changed global settings", $cu);
}
?>