diff doc/customizing.txt @ 1800:a3b1b1dcf639

Use getuid(), not figure_curuserid() - Extended getuid() to replace figure_curuserid(). - Replace all references to curuserid with calls to getuid(). - Changed the docs to point to always point to getuid() and mention the change in upgrading.txt.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Mon, 08 Sep 2003 20:39:18 +0000
parents d2801a2b0a77
children 3ac35c8e1782
line wrap: on
line diff
--- a/doc/customizing.txt	Mon Sep 08 09:28:28 2003 +0000
+++ b/doc/customizing.txt	Mon Sep 08 20:39:18 2003 +0000
@@ -2,7 +2,7 @@
 Customising Roundup
 ===================
 
-:Version: $Revision: 1.96 $
+:Version: $Revision: 1.97 $
 
 .. This document borrows from the ZopeBook section on ZPT. The original is at:
    http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -1635,7 +1635,7 @@
   python:db.user
 
 Also, the current id of the current user is available as
-``db.curuserid``. This isn't so useful in templates (where you have
+``db.getuid()``. This isn't so useful in templates (where you have
 ``request/user``), but it can be useful in detectors or interfaces.
 
 The access results in a `hyperdb class wrapper`_.

Roundup Issue Tracker: http://roundup-tracker.org/