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
Merge "Begin exposing SiteConfiguration via site contexts"
[lhc/web/wiklou.git]
/
includes
/
context
/
ContextSource.php
diff --git
a/includes/context/ContextSource.php
b/includes/context/ContextSource.php
index
0a3f18f
..
186b8e6
100644
(file)
--- a/
includes/context/ContextSource.php
+++ b/
includes/context/ContextSource.php
@@
-59,6
+59,16
@@
abstract class ContextSource implements IContextSource {
$this->context = $context;
}
+ /**
+ * Get the SiteConfiguration object
+ *
+ * @since 1.23
+ * @return SiteConfiguration
+ */
+ public function getConfig() {
+ return $this->getContext()->getConfig();
+ }
+
/**
* Get the WebRequest object
*