From fbde6740984bf3f2d310846146e24eb6d24d6cd2 Mon Sep 17 00:00:00 2001 From: spiderr Date: Sun, 6 May 2012 12:43:33 -0400 Subject: replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct() --- LibertyQuota.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibertyQuota.php b/LibertyQuota.php index afeb336..63840eb 100644 --- a/LibertyQuota.php +++ b/LibertyQuota.php @@ -40,9 +40,9 @@ class LibertyQuota extends LibertyBase { /** * During initialisation, be sure to call our base constructors **/ - function LibertyQuota( $pQuotaId=NULL, $pContentId=NULL ) { + function __construct( $pQuotaId=NULL, $pContentId=NULL ) { $this->mQuotaId = $pQuotaId; - LibertyBase::LibertyBase(); + parent::__construct(); } -- cgit v1.3