Browse Source

Rename getBriefSessionListAndExtraByCategory() to getShortSessionListAndExtraByCategory() to match other functions names - refs BT#9092

Yannick Warnier 10 years ago
parent
commit
32b87b3716

+ 1 - 1
main/inc/lib/sessionmanager.lib.php

@@ -5444,7 +5444,7 @@ class SessionManager
      * @param array $extraFields A list of fields to be scanned and returned
      * @return mixed
      */
-    public static function getBriefSessionListAndExtraByCategory($categoryId, $target, $extraFields = null) {
+    public static function getShortSessionListAndExtraByCategory($categoryId, $target, $extraFields = null) {
         // Init variables
         $categoryId = (int) $categoryId;
         $sessionList = array();

+ 1 - 1
plugin/advanced_subscription/src/HookAdvancedSubscription.php

@@ -408,7 +408,7 @@ class HookAdvancedSubscription extends HookObserver implements
             'target',
             'schedule'
         );
-        $sessionList = SessionManager::getBriefSessionListAndExtraByCategory($sessionCategoryId, $params['target'], $fields);
+        $sessionList = SessionManager::getShortSessionListAndExtraByCategory($sessionCategoryId, $params['target'], $fields);
 
         return $sessionList;
     }