]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change Confirm_email to Confirm_address
authorEvan Prodromou <evan@controlezvous.ca>
Sun, 22 Jun 2008 15:50:28 +0000 (11:50 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Sun, 22 Jun 2008 15:50:28 +0000 (11:50 -0400)
darcs-hash:20080622155028-34904-4861ffd6927b05c35614b1ce8c51eec73e0bc9ac.gz

classes/Confirm_address.php [new file with mode: 0644]
classes/Confirm_email.php [deleted file]
classes/User.php
classes/stoica.ini

diff --git a/classes/Confirm_address.php b/classes/Confirm_address.php
new file mode 100644 (file)
index 0000000..f0c354b
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Table Definition for confirm_address
+ */
+require_once 'DB/DataObject.php';
+
+class Confirm_address extends DB_DataObject 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__table = 'confirm_address';                 // table name
+    public $code;                            // varchar(32)  primary_key not_null
+    public $user_id;                         // int(4)   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_address',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/classes/Confirm_email.php b/classes/Confirm_email.php
deleted file mode 100644 (file)
index 0b13a46..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * Table Definition for confirm_email
- */
-require_once 'DB/DataObject.php';
-
-class Confirm_email extends DB_DataObject 
-{
-    ###START_AUTOCODE
-    /* the code below is auto generated do not remove the above tag */
-
-    public $__table = 'confirm_email';                   // table name
-    public $code;                            // varchar(32)  primary_key not_null
-    public $user_id;                         // int(4)   not_null
-    public $email;                           // varchar(255)   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); }
-
-    /* the code above is auto generated do not remove the tag below */
-    ###END_AUTOCODE
-}
index 4fb6892ea45d32bfd93d9652f84dd0e0078601b4..78815a72ea972b1ac4c69fa93fe04c5ccdde9fd6 100644 (file)
@@ -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
index 3745697d52303b8883991a6fe485fc5b0cae8455..d5f758c8c574ea36d2c9a86d6773db49ec52cf2f 100644 (file)
@@ -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]