mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix(cron): remove now-erroneous function call
This commit is contained in:
@@ -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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user