diff --git a/classes/log/store.php b/classes/log/store.php index 7d34530cd..7d2630cc8 100644 --- a/classes/log/store.php +++ b/classes/log/store.php @@ -66,12 +66,10 @@ class store extends php_obj implements log_writer { */ public function __construct(log_manager $manager) { global $CFG; - $this->helper_setup($manager); $this->logguests = $this->get_config('logguests', 1); $routes = $this->get_config('routes', ''); $this->routes = $routes === '' ? [] : explode(',', $routes); - if (!empty($CFG->debug) and $CFG->debug >= DEBUG_DEVELOPER) { $this->loggingenabled = true; }