diff options
author | Evan Prodromou <evan@status.net> | 2010-08-13 11:29:18 -0700 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-08-13 11:29:18 -0700 |
commit | e2128b201952131ab78344b089b72a0b74521c86 (patch) | |
tree | b3e0ad2da25dcfe7a88c268ca7eeeba9e1745759 /plugins/NoticeTitle/Notice_title.php | |
parent | 7dd46222a86a54be9d268a36291b795087fbd5c8 (diff) |
save the notice title when the notice is saved
Diffstat (limited to 'plugins/NoticeTitle/Notice_title.php')
-rw-r--r-- | plugins/NoticeTitle/Notice_title.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NoticeTitle/Notice_title.php b/plugins/NoticeTitle/Notice_title.php index ed71f1356..44d56b496 100644 --- a/plugins/NoticeTitle/Notice_title.php +++ b/plugins/NoticeTitle/Notice_title.php @@ -47,6 +47,8 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php'; class Notice_title extends Memcached_DataObject { + const MAXCHARS = 255; + public $__table = 'notice_title'; // table name public $notice_id; // int(4) primary_key not_null public $title; // varchar(255) |