Replace usage of deprecated getRootUrl() method
[lhc/web/wiklou.git] / includes / filerepo / FileRepo.php
index 62e6388..faed953 100644 (file)
@@ -1717,7 +1717,6 @@ class FileRepo {
         */
        protected function assertWritableRepo() {}
 
-
        /**
         * Return information about the repository.
         *
@@ -1728,7 +1727,7 @@ class FileRepo {
                $ret = array(
                        'name' => $this->getName(),
                        'displayname' => $this->getDisplayName(),
-                       'rootUrl' => $this->getRootUrl(),
+                       'rootUrl' => $this->getZoneUrl( 'public' ),
                        'local' => $this->isLocal(),
                );