From dd50a0aa2aa2602e21e46d8350a07a4ce5cd7441 Mon Sep 17 00:00:00 2001 From: Kan Ma Date: Thu, 2 Feb 2017 13:59:36 -0800 Subject: [PATCH] DNN-9338: Renamed variable name --- .../Library/Entities/Tabs/TabVersions/TabVersionUtils.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DNN Platform/Library/Entities/Tabs/TabVersions/TabVersionUtils.cs b/DNN Platform/Library/Entities/Tabs/TabVersions/TabVersionUtils.cs index fb276e2c3a9..5ef9b543dab 100644 --- a/DNN Platform/Library/Entities/Tabs/TabVersions/TabVersionUtils.cs +++ b/DNN Platform/Library/Entities/Tabs/TabVersions/TabVersionUtils.cs @@ -73,12 +73,12 @@ internal static bool CanSeeVersionedPages(TabInfo tab) return false; } - var currentPortal = PortalController.Instance.GetCurrentPortalSettings(); - if (currentPortal == null) + var currentPortalSettings = PortalController.Instance.GetCurrentPortalSettings(); + if (currentPortalSettings == null) { return false; } - var isAdminUser = currentPortal.UserInfo.IsSuperUser || PortalSecurity.IsInRole(currentPortal.AdministratorRoleName); + var isAdminUser = currentPortalSettings.UserInfo.IsSuperUser || PortalSecurity.IsInRole(currentPortalSettings.AdministratorRoleName); if (isAdminUser) { return true;