1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 07:25:54 +00:00

add schema checking to feed updating and update script

This commit is contained in:
Andrew Dolgov
2013-04-17 12:10:35 +04:00
parent a94379f118
commit 857efe49e6
3 changed files with 18 additions and 0 deletions

View File

@@ -183,6 +183,10 @@
db_close($link);
if ($schema_version != SCHEMA_VERSION) {
die("Schema version is wrong, please upgrade the database.\n");
}
while (true) {
// Since sleep is interupted by SIGCHLD, we need another way to