Skip to content

Commit

Permalink
Merge pull request #193 from quantcdn/feature/purger-variable-warning
Browse files Browse the repository at this point in the history
Updated variable usage to get rid of warning.
  • Loading branch information
kepol authored Nov 2, 2023
2 parents 465f4bc + fd4ac12 commit 539ca83
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class QuantPurgerController extends ControllerBase {
public function content() {
// Check if database table is empty.
$count = \Drupal::database()->select('purge_queuer_quant')->countQuery()->execute()->fetchField();
$text = '';
if ($count) {
$text = $this->t('The Quant Purger registry database table has :count entries.<br/><br/>', [':count' => $count]);
}
Expand Down

0 comments on commit 539ca83

Please sign in to comment.