From 471e4056f4b2c0ea7d5bb3646b9f6ae24ece8da8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 22 Jul 2008 12:46:39 -0400 Subject: [PATCH] add notice sources (currently unused) darcs-hash:20080722164639-84dde-19c6300516443862da016120cf9eed40e5972b6d.gz --- classes/Notice.php | 1 + classes/Notice_source.php | 24 ++++++++++++++++++++++++ classes/stoica.ini | 11 +++++++++++ db/laconica.sql | 9 +++++++++ 4 files changed, 45 insertions(+) create mode 100644 classes/Notice_source.php diff --git a/classes/Notice.php b/classes/Notice.php index 1d157b8a00..1b9191ad6f 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -40,6 +40,7 @@ class Notice extends DB_DataObject public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP public $reply_to; // int(4) public $is_local; // tinyint(1) + public $source; // varchar(8) /* Static get */ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Notice',$k,$v); } diff --git a/classes/Notice_source.php b/classes/Notice_source.php new file mode 100644 index 0000000000..cef2883b0c --- /dev/null +++ b/classes/Notice_source.php @@ -0,0 +1,24 @@ +