]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
data classes allow >140 bios in profiles
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 20 Aug 2009 21:09:04 +0000 (17:09 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 21 Aug 2009 10:33:21 +0000 (06:33 -0400)
classes/Profile.php
classes/laconica.ini

index f926b2cef203bbe9210d7dcad3707fd8fdee6da1..a34f4cf4bd177b4a6dae4f69e0f63a9ac5267ebd 100644 (file)
@@ -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
index a3ef82b4c39250307ee526c1bcc79cad9cf161ad..de5979f35859dc1374e30d3bb0190248d2b52397 100755 (executable)
@@ -314,7 +314,7 @@ nickname = 130
 fullname = 2
 profileurl = 2
 homepage = 2
-bio = 2
+bio = 34
 location = 2
 created = 142
 modified = 384