/** * Creates a new ModerationMarkedThreadsPage object. */ public function __construct() { if ($markedThreads = WCF::getSession()->getVar('markedThreads')) { $this->sqlConditions = 'thread.threadID IN (' . implode(',', $markedThreads) . ') AND movedThreadID = 0'; } parent::__construct(); }
/** * Creates a new ModerationDeletedThreadsPage object. */ public function __construct() { $boardIDs = Board::getModeratedBoards('canReadDeletedThread'); $this->sqlConditions .= ' AND thread.boardID IN (' . (!empty($boardIDs) ? $boardIDs : 0) . ')'; parent::__construct(); }