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 | |
parent | 2d6039fb69772dec233df8fbf8fdc2c6d492e86b (diff) |
data classes allow >140 bios in profiles
-rw-r--r-- | classes/Profile.php | 5 | ||||
-rwxr-xr-x | classes/laconica.ini | 2 |
2 files changed, 3 insertions, 4 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 diff --git a/classes/laconica.ini b/classes/laconica.ini index a3ef82b4c..de5979f35 100755 --- a/classes/laconica.ini +++ b/classes/laconica.ini @@ -314,7 +314,7 @@ nickname = 130 fullname = 2 profileurl = 2 homepage = 2 -bio = 2 +bio = 34 location = 2 created = 142 modified = 384 |