From: Evan Prodromou Date: Mon, 15 Sep 2008 07:30:06 +0000 (-0400) Subject: make NoticeWrapper extend Notice so methods work X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=423227d2db6b1a0f8609b52fbc01b31cc29eba59;p=quix0rs-gnu-social.git make NoticeWrapper extend Notice so methods work darcs-hash:20080915073006-84dde-8ea7daa73743647711a8c1d7389894b25f2b077d.gz --- diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php index 95cd727048..f8c0aa3819 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