[Rt-commit] rt branch, 4.2/watcher-type-deprecation, updated. rt-4.2.0rc1-7-g72e0406

Kevin Falcone falcone at bestpractical.com
Wed Sep 18 16:05:34 EDT 2013


The branch, 4.2/watcher-type-deprecation has been updated
       via  72e04063cda4867a8f754179f3e25fbe945c6ed1 (commit)
      from  4c0c7a474ad5cd2aa73fb8d0f24ddbd385713df7 (commit)

Summary of changes:
 share/html/Admin/Elements/EditQueueWatchers | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 72e04063cda4867a8f754179f3e25fbe945c6ed1
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Sep 18 15:58:08 2013 -0400

    Principal->ObjectId was deprecated in f70178f
    
    Switch to using Principal->Id as suggested.

diff --git a/share/html/Admin/Elements/EditQueueWatchers b/share/html/Admin/Elements/EditQueueWatchers
index 3eb768f..4734332 100644
--- a/share/html/Admin/Elements/EditQueueWatchers
+++ b/share/html/Admin/Elements/EditQueueWatchers
@@ -55,10 +55,10 @@
 <input type="checkbox" class="checkbox" name="Queue-<%$QueueObj->Id%>-DeleteWatcher-Type-<%$Watchers->Name%>-Principal-<%$watcher->MemberId%>" value="1"
         unchecked />
 % if ($watcher->MemberObj->IsUser) { 
-<a href="<%RT->Config->Get('WebPath')%>/Admin/Users/Modify.html?id=<%$watcher->MemberObj->ObjectId%>">
+<a href="<%RT->Config->Get('WebPath')%>/Admin/Users/Modify.html?id=<%$watcher->MemberObj->Id%>">
 <& /Elements/ShowUser, User => $watcher->MemberObj->Object &></a>
 % } else {
-<a href="<%RT->Config->Get('WebPath')%>/Admin/Groups/Modify.html?id=<%$watcher->MemberObj->ObjectId%>">
+<a href="<%RT->Config->Get('WebPath')%>/Admin/Groups/Modify.html?id=<%$watcher->MemberObj->Id%>">
 <%$watcher->MemberObj->Object->Name%></a>
 % }
 % }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list