summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-20 16:56:26 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-21 06:33:21 -0400
commitd213a8cf90d2c6273b32618ddd2bd1c4c252b332 (patch)
tree86261ca524296c69276844c1008c1ddf370e3f4c
parentd94a4eae8a68014c2f78ede52364d410c274cbbf (diff)
update data classes for TEXT content in notice
-rw-r--r--classes/Notice.php6
-rwxr-xr-xclasses/laconica.ini2
2 files changed, 3 insertions, 5 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 9578d87b2..ba74a98a8 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 f8d4eebd3..4f57ba3da 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