Replace usage of deprecated getRootUrl() method
[lhc/web/wiklou.git] / includes / filerepo / FileRepo.php
index 660116f..faed953 100644 (file)
@@ -1727,7 +1727,7 @@ class FileRepo {
                $ret = array(
                        'name' => $this->getName(),
                        'displayname' => $this->getDisplayName(),
-                       'rootUrl' => $this->getRootUrl(),
+                       'rootUrl' => $this->getZoneUrl( 'public' ),
                        'local' => $this->isLocal(),
                );