mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-76556 tool_log: Set the store property correctly
This commit is contained in:
parent
1d863c338a
commit
a8f63b26be
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user