Minor Fix

This commit is contained in:
Deon George 2015-01-09 21:24:23 +11:00
parent 5d6171c3d9
commit 867098afde

View File

@ -112,12 +112,6 @@ abstract class Kohana_Database_LDAP extends Kohana_LDAP {
run_hook('post_connect',array('server_id'=>$this->index,'method'=>$method,'id'=>$bind['id'])); run_hook('post_connect',array('server_id'=>$this->index,'method'=>$method,'id'=>$bind['id']));
*/ */
// Get our Schema.
if (isset($benchmark)) {
Profiler::stop($benchmark);
$benchmark = Profiler::start("Database LDAP ({$this->_instance})", 'Schema Retrieve');
}
if (isset($benchmark)) if (isset($benchmark))
Profiler::stop($benchmark); Profiler::stop($benchmark);