summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-23 23:26:29 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-23 23:26:29 -0400
commit91fc1e36bc268aa2bd7345206cd0e520d91aac26 (patch)
tree42e39f201c71955328daaeb96d157f7be519a118
parentb0e92c75cc19a91e1ea4bbb8009f6f66dc56231b (diff)
update User.php with new design-related fields
-rw-r--r--classes/User.php7
-rwxr-xr-xclasses/laconica.ini4
2 files changed, 5 insertions, 6 deletions
diff --git a/classes/User.php b/classes/User.php
index ea8ba4081..22090b986 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -62,14 +62,13 @@ class User extends Memcached_DataObject
public $autosubscribe; // tinyint(1)
public $urlshorteningservice; // varchar(50) default_ur1.ca
public $inboxed; // tinyint(1)
+ public $design_id; // int(4)
+ public $viewdesigns; // tinyint(1) default_1
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* Static get */
- function staticGet($k,$v=NULL)
- {
- return Memcached_DataObject::staticGet('User',$k,$v);
- }
+ function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User',$k,$v); }
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
diff --git a/classes/laconica.ini b/classes/laconica.ini
index 450af3621..07aa016fe 100755
--- a/classes/laconica.ini
+++ b/classes/laconica.ini
@@ -424,10 +424,10 @@ uri = 2
autosubscribe = 17
urlshorteningservice = 2
inboxed = 17
-created = 142
-modified = 384
design_id = 1
viewdesigns = 17
+created = 142
+modified = 384
[user__keys]
id = K