Просмотр исходного кода

#1559 main.css from all modules are included on all pages - pass by reference fix

Alex Trofimov 8 лет назад
Родитель
Сommit
59540b6798
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      inc/classes/BxDolModuleProxy.php

+ 15 - 0
inc/classes/BxDolModuleProxy.php

@@ -64,6 +64,7 @@ class BxDolModuleProxy
     {
         return $this->_oProxifiedObject->getData($aEvent, $aBrowseParams);
     }
+
     /**
      * Dirty fix for pass by reference to BxNtfsTemplate::getPost
      */
@@ -71,6 +72,20 @@ class BxDolModuleProxy
     {
         return $this->_oProxifiedObject->getPost($aEvent, $aBrowseParams);
     }
+    /**
+     * Dirty fix for pass by reference to BxNtfsTemplate::getNotificationEmail
+     */
+    public function getNotificationEmail(&$aEvent)
+    {
+        return $this->_oProxifiedObject->getNotificationEmail($aEvent);
+    }
+    /**
+     * Dirty fix for pass by reference to BxNtfsTemplate::getNotificationPush
+     */
+    public function getNotificationPush(&$aEvent)
+    {
+        return $this->_oProxifiedObject->getNotificationPush($aEvent);
+    }
 
     /**
      * Dirty fix for pass by reference to BxMessengerTemplate::getTalkBlock