[Rt-commit] rt branch, admin_ui, updated. 614427829d36ea1c9fc79270a6272ca29a42f9da

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jan 20 03:12:17 EST 2010


The branch, admin_ui has been updated
       via  614427829d36ea1c9fc79270a6272ca29a42f9da (commit)
      from  a013e54686c96a22f9fd7ae6ebc8497b997d197e (commit)

Summary of changes:
 lib/RT/Action/EditUserPrefs.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 614427829d36ea1c9fc79270a6272ca29a42f9da
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Jan 20 16:12:09 2010 +0800

    add user help method

diff --git a/lib/RT/Action/EditUserPrefs.pm b/lib/RT/Action/EditUserPrefs.pm
index 011bcb5..b214272 100644
--- a/lib/RT/Action/EditUserPrefs.pm
+++ b/lib/RT/Action/EditUserPrefs.pm
@@ -60,4 +60,9 @@ sub default_value {
     }
 }
 
+sub user {
+    return Jifty->web->current_user->user_object; 
+}
+
+
 1;

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


More information about the Rt-commit mailing list