diff options
-rw-r--r-- | extensions/BMO/lib/Reports/UserActivity.pm | 2 | ||||
-rw-r--r-- | extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/lib/Reports/UserActivity.pm b/extensions/BMO/lib/Reports/UserActivity.pm index a961096a6..3a485a1f2 100644 --- a/extensions/BMO/lib/Reports/UserActivity.pm +++ b/extensions/BMO/lib/Reports/UserActivity.pm @@ -30,7 +30,7 @@ sub report { $to =~ s/\N{U+2011}/-/g; if ($from eq '') { - my $dt = DateTime->now()->subtract('weeks' => 8); + my $dt = DateTime->now()->subtract('weeks' => 1); $from = $dt->ymd('-'); } if ($to eq '') { diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl index cc10d1706..810a974ec 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -93,7 +93,7 @@ <th>Last activity</th> <td colspan="2"> [% IF user.id %] - <a href="page.cgi?id=user_activity.html&action=run&who=[% target.login FILTER uri %]&from=-4w"> + <a href="page.cgi?id=user_activity.html&action=run&who=[% target.login FILTER uri %]"> [% END %] [% target.last_activity_ts FILTER time %] [% "</a>" IF user.id %] |