Skip to content
Snippets Groups Projects
Commit 0eca4452 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

fix: remove debug

parent 68a49f91
Branches
Tags
No related merge requests found
...@@ -250,17 +250,7 @@ class Kohana_Database_Query { ...@@ -250,17 +250,7 @@ class Kohana_Database_Query {
} }
// Execute the query // Execute the query
$start = microtime(true);
$result = $db->query($this->_type, $sql, $as_object, $object_params); $result = $db->query($this->_type, $sql, $as_object, $object_params);
$end = microtime(true);
$btrc = debug_backtrace();
$last = array(
"file" => $btrc[0]['file'],
"sql" => $sql,
"dtime" => ($end - $start) * 1000
);
echo Debug::vars($last);
if (isset($cache_key) AND $this->_lifetime > 0) if (isset($cache_key) AND $this->_lifetime > 0)
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment