// parameters\r
int daysBack = params == null ? 0 : WicketUtils.getDaysBack(params);\r
if (daysBack < 1) {\r
- daysBack = 14;\r
+ daysBack = 7;\r
}\r
Calendar c = Calendar.getInstance();\r
c.add(Calendar.DATE, -1*daysBack);\r
List<RepositoryModel> owned = new ArrayList<RepositoryModel>();\r
List<RepositoryModel> active = new ArrayList<RepositoryModel>();\r
\r
- for (RepositoryModel model : GitBlit.self().getRepositoryModels(user)) {\r
+ for (RepositoryModel model : getRepositoryModels()) {\r
if (model.isUsersPersonalRepository(user.username) || model.isOwner(user.username)) {\r
owned.add(model);\r
}\r