All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit cf6fdf90 authored by Leigh B Stoller's avatar Leigh B Stoller

Default to previous three months for recent activity.

parent 178d4586
<?php
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -74,6 +74,10 @@ elseif (isset($target_project)) {
$target_idx = $target_project->pid_idx();
$whereclause = "where h.pid_idx='$target_idx'";
}
# Lets default to last three months if neither min or max provided
if (! (isset($min) || isset($max))) {
$min = time() - (90 * 3600 * 24);
}
if (isset($min) || isset($max)) {
if ($whereclause != "") {
$whereclause = "$whereclause and ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment