mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
pluginhost: load_data: check schema last
This commit is contained in:
@@ -356,7 +356,7 @@ class PluginHost {
|
||||
}
|
||||
|
||||
private function load_data() {
|
||||
if (get_schema_version() > 100 && $this->owner_uid && !$this->data_loaded) {
|
||||
if ($this->owner_uid && !$this->data_loaded && get_schema_version() > 100) {
|
||||
$sth = $this->pdo->prepare("SELECT name, content FROM ttrss_plugin_storage
|
||||
WHERE owner_uid = ?");
|
||||
$sth->execute([$this->owner_uid]);
|
||||
|
||||
Reference in New Issue
Block a user