diff options
Diffstat (limited to 'admin/intro.php')
-rw-r--r-- | admin/intro.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/admin/intro.php b/admin/intro.php index 53fe33c9f..f9a068dd3 100644 --- a/admin/intro.php +++ b/admin/intro.php @@ -213,25 +213,6 @@ SELECT COUNT(*) ;'; list($nb_comments) = pwg_db_fetch_row(pwg_query($query)); $template->assign('DB_COMMENTS', l10n_dec('%d comment', '%d comments', $nb_comments)); - - // unvalidated comments - $query = ' -SELECT COUNT(*) - FROM '.COMMENTS_TABLE.' - WHERE validated=\'false\' -;'; - list($nb_comments) = pwg_db_fetch_row(pwg_query($query)); - - if ($nb_comments > 0) - { - $template->assign( - 'unvalidated', - array( - 'URL' => PHPWG_ROOT_PATH.'admin.php?page=comments', - 'INFO' => l10n('%d waiting for validation', $nb_comments) - ) - ); - } } if ($nb_elements > 0) |