getPackageID('be.bastelstu.chat'); } if ($this->packageID === $chatPackageID && $this->identifier === 'plain') { return true; } $sql = "SELECT COUNT(*) FROM chat".WCF_N."_command_trigger WHERE commandID = ?"; $statement = WCF::getDB()->prepareStatement($sql); $statement->execute([ $this->commandID ]); return $statement->fetchSingleColumn() > 0; } }