hide warning when checking for tt-rss tables if tables are not present

This commit is contained in:
Andrew Dolgov 2013-06-04 18:25:37 +04:00
parent 445d1c1044
commit be9d5df19b
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@
<p>Before you can start using tt-rss, database needs to be initialized. Click on the button below to do that now.</p> <p>Before you can start using tt-rss, database needs to be initialized. Click on the button below to do that now.</p>
<?php <?php
$result = db_query($link, "SELECT true FROM ttrss_feeds", $DB_TYPE, false); $result = @db_query($link, "SELECT true FROM ttrss_feeds", $DB_TYPE, false);
if ($result) { if ($result) {
print_error("Existing tt-rss tables will be removed from the database. If you would like to keep your data, skip database initialization."); print_error("Existing tt-rss tables will be removed from the database. If you would like to keep your data, skip database initialization.");