From d213a8cf90d2c6273b32618ddd2bd1c4c252b332 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Aug 2009 16:56:26 -0400 Subject: [PATCH] update data classes for TEXT content in notice --- classes/Notice.php | 6 ++---- classes/laconica.ini | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/classes/Notice.php b/classes/Notice.php index 9578d87b2b..ba74a98a8f 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -44,7 +44,7 @@ class Notice extends Memcached_DataObject public $id; // int(4) primary_key not_null public $profile_id; // int(4) not_null public $uri; // varchar(255) unique_key - public $content; // varchar(140) + public $content; // text() public $rendered; // text() public $url; // varchar(255) public $created; // datetime() not_null @@ -55,9 +55,7 @@ class Notice extends Memcached_DataObject public $conversation; // int(4) /* Static get */ - function staticGet($k,$v=NULL) { - return Memcached_DataObject::staticGet('Notice',$k,$v); - } + function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice',$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 f8d4eebd3f..4f57ba3dab 100755 --- a/classes/laconica.ini +++ b/classes/laconica.ini @@ -266,7 +266,7 @@ ts = K id = 129 profile_id = 129 uri = 2 -content = 2 +content = 34 rendered = 34 url = 2 created = 142 -- 2.39.5