use non-deprecated variant of get_schema_version()
This commit is contained in:
parent
bd95325f8d
commit
ba6a912abd
|
@ -642,7 +642,7 @@ class PluginHost {
|
||||||
private function load_data(): void {
|
private function load_data(): void {
|
||||||
$scope = Tracer::start(__METHOD__);
|
$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
|
$sth = $this->pdo->prepare("SELECT name, content FROM ttrss_plugin_storage
|
||||||
WHERE owner_uid = ?");
|
WHERE owner_uid = ?");
|
||||||
$sth->execute([$this->owner_uid]);
|
$sth->execute([$this->owner_uid]);
|
||||||
|
|
Loading…
Reference in New Issue