Update of /cvsroot/openfirst/base/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23322/includes
Modified Files:
User.php
Log Message:
Added getName() (a little overdue)
Index: User.php
===================================================================
RCS file: /cvsroot/openfirst/base/includes/User.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** User.php 19 Oct 2005 04:03:48 -0000 1.2
--- User.php 22 Nov 2005 16:25:39 -0000 1.3
***************
*** 1,691 ****
! <?php
! /*
! * openFIRST.base - includes/User.php
! *
! * Copyright (C) 2003,
! * openFIRST Project
! * Original Author: Jamie Bliss <ast...@gm...>
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
[...1358 lines suppressed...]
! );
! }
! }
!
! function updateLastSeen() {
! if ( !$this->isRealUser() ) return;
! global $ogDB;
! $this->mLastSeen = date("h:i:s M d, Y");
! $ogDB->update( 'members',
! array( 'lastseen' => $this->mLastSeen ),
! array( 'user' => $this->mName )
! );
! // Don't set $this->mDirty because we saved the changes.
! }
!
! function &getSettingsObject($module=false) {
! return new UserSettings($module,$this);
! }
! }
! ?>
|