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 "Add PreferencesFormPreSave hook"
[lhc/web/wiklou.git]
/
includes
/
context
/
ContextSource.php
diff --git
a/includes/context/ContextSource.php
b/includes/context/ContextSource.php
index
0a3f18f
..
9bc416d
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 Config object
+ *
+ * @since 1.23
+ * @return Config
+ */
+ public function getConfig() {
+ return $this->getContext()->getConfig();
+ }
+
/**
* Get the WebRequest object
*