<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
}
Logger::debug('Token found', $token);
-// User::updateLastActivity($token['uid']);
+ User::updateLastActivity($token['uid']);
// Regularly update suggestions
-// if (Contact\Relation::areSuggestionsOutdated($token['uid'])) {
-// Worker::add(Worker::PRIORITY_MEDIUM, 'UpdateSuggestions', $token['uid']);
-// }
-
+ if (Contact\Relation::areSuggestionsOutdated($token['uid'])) {
+ Worker::add(Worker::PRIORITY_MEDIUM, 'UpdateSuggestions', $token['uid']);
+ }
+
return $token;
}