diff options
Diffstat (limited to 'includes/classes/LibertyProtector.php')
| -rwxr-xr-x | includes/classes/LibertyProtector.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/classes/LibertyProtector.php b/includes/classes/LibertyProtector.php index 6fbb685..cd5fccf 100755 --- a/includes/classes/LibertyProtector.php +++ b/includes/classes/LibertyProtector.php @@ -22,7 +22,7 @@ class LibertyProtector extends LibertyBase { /** * During initialisation, be sure to call our base constructors **/ - function __construct( $pContentId=0 ) { + public function __construct( $pContentId=0 ) { $this->mContentId = $pContentId ; parent::__construct(); } @@ -34,7 +34,7 @@ class LibertyProtector extends LibertyBase { * * @param object $pParamHash */ - function storeProtection( &$pParamHash ) { + public function storeProtection( &$pParamHash ) { global $gBitSystem; if( \Bitweaver\BitBase::verifyId( $pParamHash['protector']['role_id'] ?? 0 ) ) { $this->mDb->query( "DELETE FROM `".BIT_DB_PREFIX."liberty_content_role_map` WHERE `content_id`=?", [ $pParamHash['content_id'] ] ); |
