fix important bug where wikis with both ancients and non-ancients don't record non-ancients
This commit is contained in:
@@ -58,7 +58,7 @@ generate.admin.addrm <- function (logevents, current.admins) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# if there are log events, and there are non-ancients, we parse them
|
# if there are log events, and there are non-ancients, we parse them
|
||||||
if (dim(logevents)[1] & !any(logevents$ancient)) {
|
if (dim(logevents)[1] & !all(logevents$ancient)) {
|
||||||
moderns.parsed <- do.call("rbind",
|
moderns.parsed <- do.call("rbind",
|
||||||
lapply(1:dim(moderns)[1], parse.moderns, moderns))
|
lapply(1:dim(moderns)[1], parse.moderns, moderns))
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user