summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-09 22:36:37 +0300
committerAndrew Dolgov <[email protected]>2023-04-09 22:36:37 +0300
commit44137342a695b9db59bf56f9348b8853f919cbbc (patch)
tree2313f26bbbaf0aca46d810aff2bfc55079d6e752 /classes/pluginhost.php
parentfd5e0f98c4174bea254b790606f323b0ca73292a (diff)
a bit more tracing
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index 09c8b1671..bdbecca13 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -659,6 +659,7 @@ class PluginHost {
private function save_data(string $plugin): void {
if ($this->owner_uid) {
+ $scope = Tracer::start(__METHOD__);
if (!$this->pdo_data)
$this->pdo_data = Db::instance()->pdo_connect();
@@ -686,6 +687,7 @@ class PluginHost {
}
$this->pdo_data->commit();
+ $scope->close();
}
}