]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
update data classes for TEXT content in notice
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 20 Aug 2009 20:56:26 +0000 (16:56 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 21 Aug 2009 10:33:21 +0000 (06:33 -0400)
classes/Notice.php
classes/laconica.ini

index 9578d87b2b149925e8fefffc17c43abd3b3c75b3..ba74a98a8f7b2869e22fa8417b5c526b4559ce90 100644 (file)
@@ -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
index f8d4eebd3f6e60940fa465eef559c7d46877f818..4f57ba3dabf46d39a104938b45465ac0d6758f39 100755 (executable)
@@ -266,7 +266,7 @@ ts = K
 id = 129
 profile_id = 129
 uri = 2
-content = 2
+content = 34
 rendered = 34
 url = 2
 created = 142