Add principal_id to PublicSession.

This commit is contained in:
Andrew McMillan committed 2010-03-12 11:28:20 +13:00
1 parent a53991bb90
commit f5a29a12e2
1 file changed
+7
+7
View File
@@ -25,6 +25,12 @@ class PublicSession {
*/
var $user_no;
/**
* Principal ID
* @var principal_id int
*/
var $principal_id;
/**
* User e-mail
* @var email string
@@ -51,6 +57,7 @@ class PublicSession {
global $c;
$this->user_no = -1;
$this->principal_id = -1;
$this->email = null;
$this->username = 'guest';
$this->fullname = 'Anonymous';