Robert Vogel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/340100 )

Change subject: Fixed access to deprecated method
......................................................................

Fixed access to deprecated method

deprecated since MW 1.25

Change-Id: I459e814459cf80f383f545108adc81908b4dc2b3
---
M includes/Entity.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation 
refs/changes/00/340100/1

diff --git a/includes/Entity.php b/includes/Entity.php
index 9f0e9aa..fde12ef 100644
--- a/includes/Entity.php
+++ b/includes/Entity.php
@@ -199,7 +199,7 @@
                );
 
                $oBSEntityContent = new JsonContent( $sText );
-               $oData = (object) $oBSEntityContent->getJsonData();
+               $oData = (object) $oBSEntityContent->getData()->getValue();
 
                if( empty($oData->type) ) {
                        return null;

-- 
To view, visit https://gerrit.wikimedia.org/r/340100
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I459e814459cf80f383f545108adc81908b4dc2b3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <vo...@hallowelt.biz>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to