Skip to content

Commit

Permalink
Don't flush Redis instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jan 8, 2017
1 parent 1fd2ff2 commit a1d8619
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -56,9 +56,6 @@ public object Get(Reset request)
questions.AddRange(RestQuestions.Map(kvp => ToQuestion(kvp.Key, kvp.Value, new List<string> { "rest", "http" })));
questions.AddRange(JavascriptQuestions.Map(kvp => ToQuestion(kvp.Key, kvp.Value, new List<string> { "javascript", "jquery" })));


RedisManager.Exec(r => r.FlushAll());

var mythz = Repository.GetOrCreateUser(new User { DisplayName = "mythz" });
questions.ForEach(q => q.UserId = mythz.Id);

Expand Down

0 comments on commit a1d8619

Please sign in to comment.