Skip to content

Commit

Permalink
Update store.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavkav authored Oct 5, 2017
1 parent 4a38b28 commit f2a8338
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions classes/log/store.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f2a8338

Please sign in to comment.