Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
[BugFix] Fixed an issue with the installer (table does not exist: #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
kipusoep committed Jul 11, 2014
1 parent 5e90761 commit fea7aaf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Expand Up @@ -30,8 +30,8 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyVersion("3.0.1.0")]
[assembly: AssemblyFileVersion("3.0.1.0")]

// SQL
[assembly: WebResource("InfoCaster.Umbraco.UrlTracker.SQL.create-table-1.sql", "text/plain")]
Expand Down
5 changes: 4 additions & 1 deletion Repositories/UrlTrackerRepository.cs
Expand Up @@ -528,12 +528,15 @@ public static void ReloadForcedRedirectsCache()
{
lock (_cacheLock)
{
_forcedRedirectsCache = GetUrlTrackerEntries(null, null, onlyForcedRedirects: true);
if (GetUrlTrackerTableExists())
_forcedRedirectsCache = GetUrlTrackerEntries(null, null, onlyForcedRedirects: true);
}
}

public static List<UrlTrackerModel> GetForcedRedirects()
{
if (_forcedRedirectsCache == null)
ReloadForcedRedirectsCache();
return _forcedRedirectsCache;
}
#endregion
Expand Down
6 changes: 6 additions & 0 deletions UI/UrlTrackerInfo.aspx
Expand Up @@ -80,6 +80,12 @@
</div>
<div class="tab-pane" id="changeLog">
<ul>
<li>
3.0.1 [2014/07/09]
<ul>
<li>[BugFix] Fixed an issue with the installer (table does not exist: <a href="https://github.com/kipusoep/UrlTracker/issues/14">#14</a>)</li>
</ul>
</li>
<li>
3.0.0 [2014/06/27]
<ul>
Expand Down

0 comments on commit fea7aaf

Please sign in to comment.