diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-20 17:09:04 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 06:33:21 -0400 |
commit | fa6b49ab38ab8588c1505f6f0ac7c96d49295e68 (patch) | |
tree | bcd2bd54380801b697c8124dc6c93f3303d75e9f /classes/Profile.php | |
parent | 2d6039fb69772dec233df8fbf8fdc2c6d492e86b (diff) |
data classes allow >140 bios in profiles
Diffstat (limited to 'classes/Profile.php')
-rw-r--r-- | classes/Profile.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index f926b2cef..a34f4cf4b 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -35,14 +35,13 @@ class Profile extends Memcached_DataObject public $fullname; // varchar(255) multiple_key public $profileurl; // varchar(255) public $homepage; // varchar(255) multiple_key - public $bio; // varchar(140) multiple_key + public $bio; // text() multiple_key public $location; // varchar(255) multiple_key public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP /* Static get */ - function staticGet($k,$v=null) - { return Memcached_DataObject::staticGet('Profile',$k,$v); } + function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile',$k,$v); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE |