diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-22 12:16:07 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-22 12:16:07 -0400 |
commit | 4fd1f6246ddc272192b293a5e5d5cb9dbd3e1cdf (patch) | |
tree | 3bd109be8ace3a4c227a5f90fa7e5b0e7ebd7cd9 /classes/User.php | |
parent | 403039510c5cc95010dacb773120779da4c43fe8 (diff) |
correctly use Confirm_address
darcs-hash:20080622161607-34904-d8e042b80fe6acd3cb6ad763216a0b1817752cac.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php index 78815a72e..0e7fd5447 100644 --- a/classes/User.php +++ b/classes/User.php @@ -36,6 +36,7 @@ class User extends DB_DataObject public $email; // varchar(255) unique_key public $jabber; // varchar(255) unique_key public $sms; // varchar(64) unique_key + public $carrier; // int(4) public $uri; // varchar(255) unique_key public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP @@ -68,7 +69,7 @@ class User extends DB_DataObject function updateKeys(&$orig) { $parts = array(); - foreach (array('nickname', 'email') as $k) { + foreach (array('nickname', 'email', 'jabber', 'sms', 'carrier') as $k) { if (strcmp($this->$k, $orig->$k) != 0) { $parts[] = $k . ' = ' . $this->_quote($this->$k); } |