From: Evan Prodromou Date: Sat, 18 Dec 2010 07:39:24 +0000 (-0500) Subject: save title and description of bookmark X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=563f0675086dcbe3f45c5adedf3a4b9d811ca6ff;p=quix0rs-gnu-social.git save title and description of bookmark --- diff --git a/plugins/Bookmark/Notice_bookmark.php b/plugins/Bookmark/Notice_bookmark.php index 772fad528b..6a49421fb5 100644 --- a/plugins/Bookmark/Notice_bookmark.php +++ b/plugins/Bookmark/Notice_bookmark.php @@ -47,6 +47,8 @@ class Notice_bookmark extends Memcached_DataObject { public $__table = 'notice_bookmark'; // table name public $notice_id; // int(4) primary_key not_null + public $title; // varchar(255) + public $description; // text /** * Get an instance by key @@ -76,7 +78,9 @@ class Notice_bookmark extends Memcached_DataObject function table() { - return array('notice_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL); + return array('notice_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL, + 'title' => DB_DATAOBJECT_STR, + 'description' => DB_DATAOBJECT_STR); } /**