summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-08-03 07:24:48 +0300
committerAndrew Dolgov <[email protected]>2023-08-03 07:24:48 +0300
commitba6a912abdcc3e324d809cc873923aec2a5982fe (patch)
treece2541bbe638de43e340c3dc993a6c6e362e4d42
parentbd95325f8dc9b3685d88f41dc7911eddf8ad4762 (diff)
use non-deprecated variant of get_schema_version()
-rwxr-xr-xclasses/pluginhost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index bdbecca13..85b5f1df4 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -642,7 +642,7 @@ class PluginHost {
private function load_data(): void {
$scope = Tracer::start(__METHOD__);
- if ($this->owner_uid && !$this->data_loaded && get_schema_version() > 100) {
+ if ($this->owner_uid && !$this->data_loaded && Config::get_schema_version() > 100) {
$sth = $this->pdo->prepare("SELECT name, content FROM ttrss_plugin_storage
WHERE owner_uid = ?");
$sth->execute([$this->owner_uid]);