diff options
| author | spiderr <spider@viovio.com> | 2012-05-06 13:22:14 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-06 13:22:14 -0400 |
| commit | 95cf2d8d279536e53ad7ad8e61965327f77c00c0 (patch) | |
| tree | 6d20fe2e48eed27d09418cdb4c7a0f0316664e0c /BitNewsletter.php | |
| parent | 5f4c888c3d7dfca46fc53015ebe8d437be8e7fd6 (diff) | |
| download | newsletters-95cf2d8d279536e53ad7ad8e61965327f77c00c0.tar.gz newsletters-95cf2d8d279536e53ad7ad8e61965327f77c00c0.tar.bz2 newsletters-95cf2d8d279536e53ad7ad8e61965327f77c00c0.zip | |
replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct()
Diffstat (limited to 'BitNewsletter.php')
| -rw-r--r-- | BitNewsletter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BitNewsletter.php b/BitNewsletter.php index f479c96..64fb46b 100644 --- a/BitNewsletter.php +++ b/BitNewsletter.php @@ -31,8 +31,8 @@ define( 'BITNEWSLETTER_CONTENT_TYPE_GUID', 'bitnewsletter' ); * @package newsletters */ class BitNewsletter extends LibertyContent { - function BitNewsletter( $pNlId=NULL, $pContentId=NULL ) { - parent::LibertyContent(); + function __construct( $pNlId=NULL, $pContentId=NULL ) { + parent::__construct(); $this->registerContentType( BITNEWSLETTER_CONTENT_TYPE_GUID, array( 'content_type_guid' => BITNEWSLETTER_CONTENT_TYPE_GUID, 'content_name' => 'Newsletter', |
