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

1.10.x
Yannick Warnier 11 years ago
parent 58b4bf611b
commit 32b87b3716
  1. 2
      main/inc/lib/sessionmanager.lib.php
  2. 2
      plugin/advanced_subscription/src/HookAdvancedSubscription.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();

@ -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;
}

Loading…
Cancel
Save