We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 18 | public function build(AbstractSmrPlayer $player, Template $template): void { |
||
| 19 | $db = Database::getInstance(); |
||
| 20 | |||
| 21 | $template->assign('PageTopic', 'Delete Article - Confirm'); |
||
| 22 | $dbResult = $db->read('SELECT title FROM galactic_post_article WHERE article_id = ' . $db->escapeNumber($this->articleID) . ' AND game_id = ' . $db->escapeNumber($player->getGameID())); |
||
| 23 | $template->assign('ArticleTitle', $dbResult->record()->getString('title')); |
||
| 24 | |||
| 25 | $container = new ArticleDeleteProcessor($this->articleID); |
||
| 26 | $template->assign('SubmitHREF', $container->href()); |
||
| 27 | } |
||
| 30 |