Skip to content
Snippets Groups Projects
Unverified Commit 99e5482f authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #32565 from colemanw/noDebugPrint

DAO - Remove unused debugging function
parents ddb8db8d ddd174f2
Branches
No related tags found
No related merge requests found
......@@ -2658,23 +2658,6 @@ SELECT contact_id
return TRUE;
}
/**
* @param null $message
* @param bool $printDAO
*/
public static function debugPrint($message = NULL, $printDAO = TRUE) {
CRM_Utils_System::xMemory("{$message}: ");
if ($printDAO) {
global $_DB_DATAOBJECT;
$q = [];
foreach (array_keys($_DB_DATAOBJECT['RESULTS']) as $id) {
$q[] = $_DB_DATAOBJECT['RESULTS'][$id]->query;
}
CRM_Core_Error::debug('_DB_DATAOBJECT', $q);
}
}
/**
* Build a list of triggers via hook and add them to (err, reconcile them
* with) the database.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment