File tree 4 files changed +5
-8
lines changed
Custom/Widgets/Newsletter 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 19
19
[ assembly: CLSCompliant ( false ) ]
20
20
[ assembly: ComVisible ( false ) ]
21
21
[ assembly: AllowPartiallyTrustedCallers ]
22
- [ assembly: AssemblyVersion ( "3.2.2.2 " ) ]
22
+ [ assembly: AssemblyVersion ( "3.2.2.3 " ) ]
23
23
[ assembly: SecurityRules ( SecurityRuleSet . Level1 ) ]
Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ public override void CreateRole(string roleName)
139
139
}
140
140
141
141
// This needs to be called in order to keep the Right class in sync.
142
+ // SQL Server on slow connections need few seconds to complete query
143
+ System . Threading . Thread . Sleep ( 5000 ) ;
142
144
Right . RefreshAllRights ( ) ;
143
145
}
144
146
Original file line number Diff line number Diff line change 1
- using App_Code ;
2
- using BlogEngine . Core . Data . Contracts ;
1
+ using BlogEngine . Core . Data . Contracts ;
3
2
using BlogEngine . Core . Data . ViewModels ;
4
- using System . Net ;
5
3
using System . Web . Http ;
6
4
7
5
public class DashboardController : ApiController
@@ -10,9 +8,6 @@ public class DashboardController : ApiController
10
8
11
9
public DashboardController ( IDashboardRepository repository )
12
10
{
13
- if ( ! WebUtils . CheckRightsForAdminSettingsPage ( true ) )
14
- throw new HttpResponseException ( HttpStatusCode . Unauthorized ) ;
15
-
16
11
this . repository = repository ;
17
12
}
18
13
Original file line number Diff line number Diff line change 24
24
showForm = true ;
25
25
}
26
26
}
27
- <div class =" widget recentcomments " >
27
+ <div class =" widget newsletter " >
28
28
<h4 class =" widget-header" >@Model.Title </h4 >
29
29
<div class =" widget-content" style =" padding : 20px " >
30
30
@if (showThanks )
You can’t perform that action at this time.
0 commit comments