* @return PackageUpdateServer[]
*/
public static final function getActiveUpdateServers(array $packageUpdateServerIDs = []) {
- $list = new PackageUpdateServerList();
- $list->getConditionBuilder()->add("isDisabled = ?", [0]);
if (!empty($packageUpdateServerIDs)) {
- $list->getConditionBuilder()->add("packageUpdateServerID IN (?)", [$packageUpdateServerIDs]);
+ throw new \InvalidArgumentException("Filtering package update servers by ID is no longer supported.");
}
+
+ $list = new PackageUpdateServerList();
+ $list->getConditionBuilder()->add("isDisabled = ?", [0]);
$list->readObjects();
if (ENABLE_ENTERPRISE_MODE) {