// reset storage
if (ARTICLE_ENABLE_VISIT_TRACKING) {
UserStorageHandler::getInstance()->resetAll('unreadArticles');
+ UserStorageHandler::getInstance()->resetAll('unreadWatchedArticles');
}
$publicationStatus = (isset($this->parameters['data']['publicationStatus'])) ? $this->parameters['data']['publicationStatus'] : null;
// reset storage
if (ARTICLE_ENABLE_VISIT_TRACKING) {
UserStorageHandler::getInstance()->resetAll('unreadArticles');
+ UserStorageHandler::getInstance()->resetAll('unreadWatchedArticles');
}
return ['objectIDs' => $this->objectIDs];
// reset storage
if (ARTICLE_ENABLE_VISIT_TRACKING) {
UserStorageHandler::getInstance()->resetAll('unreadArticles');
+ UserStorageHandler::getInstance()->resetAll('unreadWatchedArticles');
}
return ['objectIDs' => $this->objectIDs];
// reset storage
if (WCF::getUser()->userID) {
UserStorageHandler::getInstance()->reset([WCF::getUser()->userID], 'unreadArticles');
+ UserStorageHandler::getInstance()->reset([WCF::getUser()->userID], 'unreadWatchedArticles');
}
}