Update index.php to call backfillUserLogs/syncUserLogs
This commit is contained in:
@@ -15,12 +15,12 @@ require_once __DIR__ . '/functions.php';
|
|||||||
|
|
||||||
if (dbNew()) {
|
if (dbNew()) {
|
||||||
foreach (USER_KEYS as $key => $value) {
|
foreach (USER_KEYS as $key => $value) {
|
||||||
firstRun($key);
|
backfillUserLogs($key);
|
||||||
}
|
}
|
||||||
header('Location: /');
|
header('Location: /');
|
||||||
} else {
|
} else {
|
||||||
foreach (USER_KEYS as $key => $value) {
|
foreach (USER_KEYS as $key => $value) {
|
||||||
getLog($key);
|
syncUserLogs($key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user