Invoke backfillRunningBalances after sync/backfill
This commit is contained in:
@@ -79,6 +79,8 @@ function backfillUserLogs($user) {
|
|||||||
$next = fetchAndStoreLogPage($pdo, $user, $url);
|
$next = fetchAndStoreLogPage($pdo, $user, $url);
|
||||||
$url = $next;
|
$url = $next;
|
||||||
} while ($next !== null);
|
} while ($next !== null);
|
||||||
|
|
||||||
|
backfillRunningBalances($pdo, $user);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -111,6 +113,8 @@ function syncUserLogs($user) {
|
|||||||
$next = fetchAndStoreLogPage($pdo, $user, $url);
|
$next = fetchAndStoreLogPage($pdo, $user, $url);
|
||||||
$url = $next;
|
$url = $next;
|
||||||
} while ($next !== null);
|
} while ($next !== null);
|
||||||
|
|
||||||
|
backfillRunningBalances($pdo, $user);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user