dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FileBackend] Added FileBackend::getWikiID() function.
[lhc/web/wiklou.git]
/
includes
/
filebackend
/
FileBackend.php
diff --git
a/includes/filebackend/FileBackend.php
b/includes/filebackend/FileBackend.php
index
042cb67
..
306bf35
100644
(file)
--- 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
*