From: Evan Prodromou Date: Thu, 20 Aug 2009 21:09:04 +0000 (-0400) Subject: data classes allow >140 bios in profiles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa6b49ab38ab8588c1505f6f0ac7c96d49295e68;p=quix0rs-gnu-social.git data classes allow >140 bios in profiles --- diff --git a/classes/Profile.php b/classes/Profile.php index f926b2cef2..a34f4cf4bd 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 a3ef82b4c3..de5979f358 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