From 16f72fcc98fa3f6298fc571055c1e521bd188c7c Mon Sep 17 00:00:00 2001 From: spiderr Date: Sun, 6 May 2012 12:44:53 -0400 Subject: replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct() --- LibertyTag.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibertyTag.php b/LibertyTag.php index fb2a80a..1247ac6 100644 --- a/LibertyTag.php +++ b/LibertyTag.php @@ -19,8 +19,8 @@ require_once( KERNEL_PKG_PATH.'BitBase.php' ); class LibertyTag extends LibertyBase { var $mContentId; - function LibertyTag( $pContentId=NULL ) { - LibertyBase::LibertyBase(); + function __construct( $pContentId=NULL ) { + parent::__construct(); $this->mContentId = $pContentId; } -- cgit v1.3