Merge "Don't send email notifs to blocked users if $wgBlockDisablesLogin is true"
[lhc/web/wiklou.git] / includes / context / ContextSource.php
index 83e8ef6..d526d84 100644 (file)
@@ -152,6 +152,17 @@ abstract class ContextSource implements IContextSource {
                return $this->getContext()->getSkin();
        }
 
+       /**
+        * Get the Stats object
+        *
+        * @since 1.25
+        * @return BufferingStatsdDataFactory
+        */
+       public function getStats() {
+               return $this->getContext()->getStats();
+       }
+
+
        /**
         * Get a Message object with context set
         * Parameters are the same as wfMessage()