diff options
Diffstat (limited to 'docs/html/cust-change-permissions.html')
-rw-r--r-- | docs/html/cust-change-permissions.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/cust-change-permissions.html b/docs/html/cust-change-permissions.html index 465896d0b..3d240bc40 100644 --- a/docs/html/cust-change-permissions.html +++ b/docs/html/cust-change-permissions.html @@ -183,7 +183,7 @@ COLOR="#000000" ><PRE CLASS="programlisting" > if ($field eq "qacontact") { - if (UserInGroup("quality_assurance")) { + if (Bugzilla->user->groups("quality_assurance")) { return 1; } else { @@ -208,7 +208,7 @@ COLOR="#000000" ><PRE CLASS="programlisting" > if (($field eq "priority") && - ($vars->{'user'}{'login'} =~ /.*\@example\.com$/)) + (Bugzilla->user->email =~ /.*\@example\.com$/)) { if ($oldvalue eq "P1") { return 1; |