mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
af_psql_trgm: do not try to render preference pane if enabled on mysql
This commit is contained in:
@@ -119,7 +119,7 @@ class Af_Psql_Trgm extends Plugin {
|
||||
|
||||
if (DB_TYPE != "pgsql") {
|
||||
print_error("Database type not supported.");
|
||||
}
|
||||
} else {
|
||||
|
||||
$result = db_query("select 'similarity'::regproc");
|
||||
|
||||
@@ -204,6 +204,7 @@ class Af_Psql_Trgm extends Plugin {
|
||||
}
|
||||
print "</ul>";
|
||||
}
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user