Commit f44daf39 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Lets make explicit in the history records whether an extension request

needs admin approval. I can figure this out from the data, but easier
if we just set a flag.
parent 5e5daaca
......@@ -1571,7 +1571,11 @@ sub DoExtend()
"action" => "request",
"wanted" => $wanted,
"granted" => $granted,
"admin" => $this_user->IsAdmin() ? 1 : 0};
"admin" => $this_user->IsAdmin() ? 1 : 0,
};
if ($needapproval) {
$extensionargs->{"needapproval"} = 1;
}
if (defined($message)) {
$extensionargs->{"message"} = $message;
}
......
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