Platonides has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/97319


Change subject: Replace usage of deprecated getRootUrl() method
......................................................................

Replace usage of deprecated getRootUrl() method

Follow-up change 85344 (d94d29a9)

Change-Id: Ia77d445621b426e159f9c120cb55c7e69b193497
---
M includes/filerepo/FileRepo.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/19/97319/1

diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php
index 660116f..faed953 100644
--- a/includes/filerepo/FileRepo.php
+++ b/includes/filerepo/FileRepo.php
@@ -1727,7 +1727,7 @@
                $ret = array(
                        'name' => $this->getName(),
                        'displayname' => $this->getDisplayName(),
-                       'rootUrl' => $this->getRootUrl(),
+                       'rootUrl' => $this->getZoneUrl( 'public' ),
                        'local' => $this->isLocal(),
                );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia77d445621b426e159f9c120cb55c7e69b193497
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Platonides <[email protected]>

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

Reply via email to