use wcf\data\article\AccessibleArticleList;
use wcf\data\article\Article;
use wcf\data\article\content\ViewableArticleContentList;
-use wcf\system\cache\runtime\ViewableArticleRuntimeCache;
+use wcf\data\article\ViewableArticleList;
use wcf\system\html\input\HtmlInputProcessor;
/**
public function loadObjects(array $objectIDs)
{
// Do not use `ViewableArticleRuntimeCache` to avoid recursively loading embedded objects.
- $articleList = new AccessibleArticleList();
+ $articleList = new ViewableArticleList();
$articleList->enableEmbeddedObjectLoading(false);
$articleList->getConditionBuilder()->add('article.articleID IN (?)', [$objectIDs]);
$articleList->readObjects();