summaryrefslogtreecommitdiff
path: root/lib/noticewrapper.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-15 03:30:06 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-15 03:30:06 -0400
commit423227d2db6b1a0f8609b52fbc01b31cc29eba59 (patch)
tree868e5fb67b2e96ef40e705f762be9b1abcb50a91 /lib/noticewrapper.php
parent6451b7ad6ad4a5c84637080156adcec2b8ad1f75 (diff)
make NoticeWrapper extend Notice so methods work
darcs-hash:20080915073006-84dde-8ea7daa73743647711a8c1d7389894b25f2b077d.gz
Diffstat (limited to 'lib/noticewrapper.php')
-rw-r--r--lib/noticewrapper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php
index 95cd72704..f8c0aa381 100644
--- a/lib/noticewrapper.php
+++ b/lib/noticewrapper.php
@@ -19,7 +19,9 @@
if (!defined('LACONICA')) { exit(1); }
-class NoticeWrapper {
+require_once(INSTALLDIR.'/classes/Notice.php');
+
+class NoticeWrapper extends Notice {
public $id; // int(4) primary_key not_null
public $profile_id; // int(4) not_null