mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
fix(cron): remove now-erroneous function call
This commit is contained in:
parent
0480681006
commit
823a35b859
2 changed files with 0 additions and 3 deletions
|
|
@ -66,7 +66,6 @@ async function cronAsync (req, res) {
|
|||
res.locals.user = user;
|
||||
const { daysMissed, timezoneUtcOffsetFromUserPrefs } = user.daysUserHasMissed(now, req);
|
||||
|
||||
user.enrollInDropCapABTest(req.headers['x-client']);
|
||||
await updateLastCron(user, now);
|
||||
|
||||
if (daysMissed <= 0) {
|
||||
|
|
|
|||
|
|
@ -163,8 +163,6 @@ function _setUpNewUser (user) {
|
|||
|
||||
user.markModified('items achievements');
|
||||
|
||||
user.enrollInDropCapABTest(user.registeredThrough);
|
||||
|
||||
if (user.registeredThrough === 'habitica-web') {
|
||||
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue