[Rt-commit] r13841 - in rt/3.8/trunk: sbin
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 7 15:24:19 EDT 2008
Author: sartak
Date: Mon Jul 7 15:24:14 2008
New Revision: 13841
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/sbin/rt-email-dashboards.in
Log:
r63795 at onn: sartak | 2008-07-07 15:23:54 -0400
Don't email dashboards to unprivileged users ever
Modified: rt/3.8/trunk/sbin/rt-email-dashboards.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-email-dashboards.in (original)
+++ rt/3.8/trunk/sbin/rt-email-dashboards.in Mon Jul 7 15:24:14 2008
@@ -127,6 +127,8 @@
# look through each user for her subscriptions
my $Users = RT::Users->new($RT::SystemUser);
+$Users->LimitToPrivileged;
+
while (defined(my $user = $Users->Next)) {
if ($user->PrincipalObj->Disabled) {
debug "Skipping over "
More information about the Rt-commit
mailing list