MDL-76556 tool_log: Set the store property correctly

This commit is contained in:
Andrew Nicols
2022-12-03 11:49:24 +08:00
parent bdba78514f
commit 258c8ca75c
+1 -1
View File
@@ -57,7 +57,7 @@ trait store {
throw new \coding_exception("Store $called doesn't define classes in correct namespaces.");
}
$this->component = $parts[0];
$this->store = str_replace('logstore_', '', $this->store);
$this->store = str_replace('logstore_', '', $this->component);
}
/**