summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-22 11:50:28 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-22 11:50:28 -0400
commitb19c86bd0065ee3a13ced9be3244d8dc007d2ee6 (patch)
tree942f786a577f3ab83034bf798512cfdcee4e9970 /classes
parent695ad02bdbc03150e8f7f5ebf74fa043f16b3257 (diff)
change Confirm_email to Confirm_address
darcs-hash:20080622155028-34904-4861ffd6927b05c35614b1ce8c51eec73e0bc9ac.gz
Diffstat (limited to 'classes')
-rw-r--r--classes/Confirm_address.php (renamed from classes/Confirm_email.php)11
-rw-r--r--classes/User.php2
-rw-r--r--classes/stoica.ini11
3 files changed, 16 insertions, 8 deletions
diff --git a/classes/Confirm_email.php b/classes/Confirm_address.php
index 0b13a4669..f0c354bab 100644
--- a/classes/Confirm_email.php
+++ b/classes/Confirm_address.php
@@ -1,22 +1,23 @@
<?php
/**
- * Table Definition for confirm_email
+ * Table Definition for confirm_address
*/
require_once 'DB/DataObject.php';
-class Confirm_email extends DB_DataObject
+class Confirm_address extends DB_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
- public $__table = 'confirm_email'; // table name
+ public $__table = 'confirm_address'; // table name
public $code; // varchar(32) primary_key not_null
public $user_id; // int(4) not_null
- public $email; // varchar(255) not_null
+ public $address; // varchar(255) not_null
+ public $address_type; // varchar(32) not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* Static get */
- function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Confirm_email',$k,$v); }
+ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Confirm_address',$k,$v); }
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
diff --git a/classes/User.php b/classes/User.php
index 4fb6892ea..78815a72e 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -34,6 +34,8 @@ class User extends DB_DataObject
public $nickname; // varchar(64) unique_key
public $password; // varchar(255)
public $email; // varchar(255) unique_key
+ public $jabber; // varchar(255) unique_key
+ public $sms; // varchar(64) unique_key
public $uri; // varchar(255) unique_key
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
diff --git a/classes/stoica.ini b/classes/stoica.ini
index 3745697d5..d5f758c8c 100644
--- a/classes/stoica.ini
+++ b/classes/stoica.ini
@@ -16,13 +16,14 @@ width = K
height = K
url = U
-[confirm_email]
+[confirm_address]
code = 130
user_id = 129
-email = 130
+address = 130
+address_type = 130
modified = 384
-[confirm_email__keys]
+[confirm_address__keys]
code = K
[consumer]
@@ -115,6 +116,8 @@ id = 129
nickname = 2
password = 2
email = 2
+jabber = 2
+sms = 2
uri = 2
created = 142
modified = 384
@@ -123,6 +126,8 @@ modified = 384
id = K
nickname = U
email = U
+jabber = U
+sms = U
uri = U
[user_openid]