]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make NoticeWrapper extend Notice so methods work
authorEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:30:06 +0000 (03:30 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:30:06 +0000 (03:30 -0400)
darcs-hash:20080915073006-84dde-8ea7daa73743647711a8c1d7389894b25f2b077d.gz

lib/noticewrapper.php

index 95cd7270488508d62d4893a600abc0bb0d8912f0..f8c0aa38199400ec926a4283fb7ab9b17d350536 100644 (file)
@@ -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