]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Docs for bug 233962: UserInGroup() no longer takes a second parameter - Patch by...
authorlpsolit%gmail.com <>
Tue, 21 Nov 2006 01:30:49 +0000 (01:30 +0000)
committerlpsolit%gmail.com <>
Tue, 21 Nov 2006 01:30:49 +0000 (01:30 +0000)
docs/xml/customization.xml

index d4b6cfebd074d34f2b6e27841ffb9b319504d3b8..797c8661aebed0c35b07c9315536f62a777ff49f 100644 (file)
       <filename>data/versioncache</filename> for the list called 
       <filename>@::log_columns</filename>. If you need help writing custom
       rules for your organization, ask in the newsgroup.
-    </para>    
-  </section>   
+    </para>
+
+    <section id="cust-group-check">
+      <title>Modification in UserInGroup()</title>
+
+      <para>
+        The <filename>UserInGroup()</filename> function in the
+        <filename>Bugzilla/User.pm</filename> module only accepts
+        one argument since 2.17.5: the name of a group. This check
+        is now always done against the current user, and a second
+        argument specifying the user ID to check this group against
+        is no longer valid and an error is thrown if you try to.
+      </para>
+    </section>
+  </section>
   
   <section id="dbmodify">
     <title>Modifying Your Running System</title>