projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1961a3c
)
Added email in current user class.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 4 Feb 2013 07:46:49 +0000
(08:46 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 4 Feb 2013 07:46:49 +0000
(08:46 +0100)
includes/current_user.inc
patch
|
blob
|
history
diff --git
a/includes/current_user.inc
b/includes/current_user.inc
index 7f04eb778329e347b017f0523ad4d67f0eb2d68c..76d52f2f126f5228c4b74e6a1d2e406de14e4106 100644
(file)
--- a/
includes/current_user.inc
+++ b/
includes/current_user.inc
@@
-22,6
+22,7
@@
class current_user
var $loginname;
var $username;
var $name;
+ var $email;
var $company; // user's company
var $pos;
var $access;
@@
-120,6
+121,7
@@
class current_user
$this->username = $this->loginname;
$this->prefs = new user_prefs($myrow);
$this->user = @$myrow["id"];
+ $this->email = @$myrow["email"];
update_user_visitdate($this->username);
$this->logged = true;
$this->last_act = time();