Permalink
Browse files

Revert.

  • Loading branch information...
1 parent a7450eb commit 626209a7cbd46d2dfadc2922cd977d074a09f241 @resurtm committed Nov 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 framework/logging/CDbLogRoute.php
View
3 framework/logging/CDbLogRoute.php
@@ -70,7 +70,8 @@ class CDbLogRoute extends CLogRoute
*/
public function setEnabled($enabled)
{
- if($this->enabled=$enabled && $this->autoCreateLogTable && !$this->_tableChecked)
+ parent::setEnabled($enabled);
+ if($this->getEnabled() && $this->autoCreateLogTable && !$this->_tableChecked)
{
$this->_tableChecked=true;
$db=$this->getDbConnection();

0 comments on commit 626209a

Please sign in to comment.