public function commit ()
	{

		if (--$this->transactionCount === 0)
		{
			
			$status	= parent::commit ();
			
			// Commit any hooked databases
			
			if ($this->_transaction_hooks)
			{
				
				if ($status)
				{
					foreach ($this->_transaction_hooks as $dsn => &$db)
					{
						$db->commit ();
					}
				}
				
				$this->_transaction_hooks	= array ();
				
			}
			
			return $status;
			
		}
		else
		{
			return FALSE;
		}

	}