Skip to content

Commit

Permalink
Fixing log constants, Refs #3951
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Apr 28, 2011
1 parent 385d153 commit afd1d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/kohana/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ public function read($id = NULL)
}
else
{
Kohana::$log->add(Kohana::ERROR, 'Error reading session data: '.$id);
Kohana::$log->add(Log::ERROR, 'Error reading session data: '.$id);
}
}
catch (Exception $e)
{
// Ignore all reading errors, but log them
Kohana::$log->add(Kohana::ERROR, 'Error reading session data: '.$id);
Kohana::$log->add(Log::ERROR, 'Error reading session data: '.$id);
}

if (is_array($data))
Expand Down

0 comments on commit afd1d6b

Please sign in to comment.