Skip to content

Commit

Permalink
Removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Mar 12, 2014
1 parent b003095 commit 6b93281
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Lib/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,7 @@ public function setup($environment = null, $default = 'development') {
$this->environments[$current]['callable']();
}

if (Configure::read('debug') > 0) {
App::uses('CakeLog', 'Log');
if (class_exists('CakeLog')) {
CakeLog::write(LOG_INFO, $current);
Configure::write('Environment.setup', true);
}
}
Configure::write('Environment.setup', true);

return true;
}
Expand Down

0 comments on commit 6b93281

Please sign in to comment.