summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-06-23 13:18:59 +0100
committerlsces <lester@lsces.co.uk>2016-06-23 13:18:59 +0100
commit32c8f04d6e994ab5024c52d0ed4a3e37ad17e507 (patch)
tree214a1400f00e97e3064f50924d99c51eab804e05
parent7b38e8f3922096c2e5273792381a0f102e5f93fc (diff)
downloadboards-32c8f04d6e994ab5024c52d0ed4a3e37ad17e507.tar.gz
boards-32c8f04d6e994ab5024c52d0ed4a3e37ad17e507.tar.bz2
boards-32c8f04d6e994ab5024c52d0ed4a3e37ad17e507.zip
Named constructors being deprecated in PHP7.x
-rw-r--r--BitBoard.php2
-rw-r--r--BitBoardPost.php2
-rw-r--r--BitBoardTopic.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/BitBoard.php b/BitBoard.php
index 6c9a7ce..add019f 100644
--- a/BitBoard.php
+++ b/BitBoard.php
@@ -34,7 +34,7 @@ class BitBoard extends LibertyMime {
/**
* During initialisation, be sure to call our base constructors
**/
- function BitBoard( $pBitBoardId=NULL, $pContentId=NULL ) {
+ function __construct( $pBitBoardId=NULL, $pContentId=NULL ) {
parent::__construct();
$this->mBitBoardId = $pBitBoardId;
$this->mContentId = $pContentId;
diff --git a/BitBoardPost.php b/BitBoardPost.php
index c40d4cb..fc624d4 100644
--- a/BitBoardPost.php
+++ b/BitBoardPost.php
@@ -24,7 +24,7 @@ class BitBoardPost extends LibertyComment {
/**
* During initialisation, be sure to call our base constructors
*/
- function BitBoardPost($pCommentId = NULL, $pContentId = NULL, $pInfo = NULL) {
+ function __construct($pCommentId = NULL, $pContentId = NULL, $pInfo = NULL) {
parent::__construct($pCommentId,$pContentId,$pInfo);
// Permission setup
diff --git a/BitBoardTopic.php b/BitBoardTopic.php
index ce0deaf..de511ca 100644
--- a/BitBoardTopic.php
+++ b/BitBoardTopic.php
@@ -42,7 +42,7 @@ class BitBoardTopic extends LibertyMime {
/**
* During initialisation, be sure to call our base constructors
**/
- function BitBoardTopic( $pRootId=NULL ) {
+ function __construct( $pRootId=NULL ) {
parent::__construct();
$this->mRootId = $pRootId;