jenkins-bot has submitted this change and it was merged.

Change subject: Fix method visibility
......................................................................


Fix method visibility

Change-Id: Ic1d57d222481b804e842fc43bd775a607e3b1bff
---
M includes/storage/SMW_SparqlStore.php
M includes/storage/SMW_Store.php
M includes/storage/SQLStore/SMW_SQLStore3.php
3 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Mwjames: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/storage/SMW_SparqlStore.php 
b/includes/storage/SMW_SparqlStore.php
index cd89637..40b9357 100644
--- a/includes/storage/SMW_SparqlStore.php
+++ b/includes/storage/SMW_SparqlStore.php
@@ -141,7 +141,7 @@
         * @see SMWStore::doDataUpdate()
         * @since 1.6
         */
-       public function doDataUpdate( SMWSemanticData $data ) {
+       protected function doDataUpdate( SMWSemanticData $data ) {
                $this->baseStore->doDataUpdate( $data );
 
                $expDataArray = $this->prepareUpdateExpData( $data );
diff --git a/includes/storage/SMW_Store.php b/includes/storage/SMW_Store.php
index 7cf7747..956b7c2 100644
--- a/includes/storage/SMW_Store.php
+++ b/includes/storage/SMW_Store.php
@@ -172,7 +172,7 @@
         *
         * @param SMWSemanticData $data
         */
-       public abstract function doDataUpdate( SMWSemanticData $data );
+       protected abstract function doDataUpdate( SMWSemanticData $data );
 
        /**
         * Update the semantic data stored for some individual. The data is
diff --git a/includes/storage/SQLStore/SMW_SQLStore3.php 
b/includes/storage/SQLStore/SMW_SQLStore3.php
index 4320afa..1bee0fe 100644
--- a/includes/storage/SQLStore/SMW_SQLStore3.php
+++ b/includes/storage/SQLStore/SMW_SQLStore3.php
@@ -303,11 +303,11 @@
                return $this->writer;
        }
 
-       public function deleteSubject ( Title $subject ) {
+       public function deleteSubject( Title $subject ) {
                return $this->getWriter()->deleteSubject( $subject );
        }
 
-       public function doDataUpdate( SMWSemanticData $data ) {
+       protected function doDataUpdate( SMWSemanticData $data ) {
                return $this->getWriter()->doDataUpdate( $data );
        }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1d57d222481b804e842fc43bd775a607e3b1bff
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to