From: Aaron Date: Mon, 24 Sep 2012 22:38:37 +0000 (-0700) Subject: [FileBackend] Added FileBackend::getWikiID() function. X-Git-Tag: 1.31.0-rc.0~22283^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=dfb0d94c996aaac6f1be017ee7a5355059ec43ba;p=lhc%2Fweb%2Fwiklou.git [FileBackend] Added FileBackend::getWikiID() function. Change-Id: Idd9be6c72d494fad37ac62e274c1e115ff97cdec --- diff --git a/includes/filebackend/FileBackend.php b/includes/filebackend/FileBackend.php index 042cb675ba..306bf353d6 100644 --- a/includes/filebackend/FileBackend.php +++ b/includes/filebackend/FileBackend.php @@ -128,6 +128,16 @@ abstract class FileBackend { return $this->name; } + /** + * Get the wiki identifier used for this backend (possibly empty) + * + * @return string + * @since 1.20 + */ + final public function getWikiId() { + return $this->wikiId; + } + /** * Check if this backend is read-only *