Merge "Add PreferencesFormPreSave hook"
[lhc/web/wiklou.git] / includes / context / ContextSource.php
index 0a3f18f..9bc416d 100644 (file)
@@ -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
         *