CAR-2146: Improved policy wizard loading time

Removing redundant code to improve performance as
suggested by Miheala.

Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
This commit is contained in:
Sharath Babu 2016-03-29 07:19:07 +00:00
parent 74c6242d56
commit 026b19c3fa

View File

@ -306,11 +306,6 @@ namespace XenAPI
{ {
get get
{ {
foreach (var recent in _alerts)
{
if (!_alerts.Contains(recent))
_alerts.Add(recent);
}
return _alerts; return _alerts;
} }
set { _alerts = value; } set { _alerts = value; }