|
|
@ -41,18 +41,6 @@
|
|
|
|
pg_query("set client_encoding = 'utf-8'");
|
|
|
|
pg_query("set client_encoding = 'utf-8'");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
$result = db_query($link, "SELECT schema_version FROM ttrss_version");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$schema_version = db_fetch_result($result, 0, "schema_version");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($schema_version != SCHEMA_VERSION) {
|
|
|
|
|
|
|
|
print "Error: database schema is invalid
|
|
|
|
|
|
|
|
(got version $schema_version; expected ".SCHEMA_VERSION.")";
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$fetch = $_GET["fetch"];
|
|
|
|
$fetch = $_GET["fetch"];
|
|
|
|
|
|
|
|
|
|
|
|
/* FIXME this needs reworking */
|
|
|
|
/* FIXME this needs reworking */
|
|
|
|