[Rt-commit] r18202 - rt/3.8/trunk/sbin

ruz at bestpractical.com ruz at bestpractical.com
Wed Feb 4 14:12:22 EST 2009


Author: ruz
Date: Wed Feb  4 14:12:22 2009
New Revision: 18202

Modified:
   rt/3.8/trunk/sbin/rt-validator.in

Log:
* {Add,Del}Watcher references principals as a group can be added as watchers

Modified: rt/3.8/trunk/sbin/rt-validator.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-validator.in	(original)
+++ rt/3.8/trunk/sbin/rt-validator.in	Wed Feb  4 14:12:22 2009
@@ -650,7 +650,7 @@
     );
     # type = DelWatcher
     check_integrity(
-        'Transactions', 'OldValue' => 'Users', 'id',
+        'Transactions', 'OldValue' => 'Principals', 'id',
         condition   => 's.Type = ?',
         bind_values => [ 'DelWatcher' ],
         action => sub {
@@ -665,7 +665,7 @@
     );
     # type = AddWatcher
     check_integrity(
-        'Transactions', 'NewValue' => 'Users', 'id',
+        'Transactions', 'NewValue' => 'Principals', 'id',
         condition   => 's.Type = ?',
         bind_values => [ 'AddWatcher' ],
         action => sub {


More information about the Rt-commit mailing list