summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-06 12:43:33 -0400
committerspiderr <spider@viovio.com>2012-05-06 12:43:33 -0400
commitfbde6740984bf3f2d310846146e24eb6d24d6cd2 (patch)
tree3373d1b3f453643902ce62d6103cb634e1af5137
parentf30144e67210fcff400f1b49a37fa6cfed19132f (diff)
downloadquota-fbde6740984bf3f2d310846146e24eb6d24d6cd2.tar.gz
quota-fbde6740984bf3f2d310846146e24eb6d24d6cd2.tar.bz2
quota-fbde6740984bf3f2d310846146e24eb6d24d6cd2.zip
replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct()
-rw-r--r--LibertyQuota.php4
1 files 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();
}