CRM-17789 - CRM_Core_Error - Adjust setDefaultCallback() sig
authorTim Otten <totten@civicrm.org>
Mon, 1 Aug 2016 00:58:02 +0000 (17:58 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 1 Aug 2016 00:58:02 +0000 (17:58 -0700)
commita6272a48ec91b6307847f6882e7e7a3df7ce24f1
tree401c421ccbdf0524f2b7461d7b1bf5b3bf8e4430
parentb74c0894cae5bb0072400d6a59d5b691d4e3b07b
CRM-17789 - CRM_Core_Error - Adjust setDefaultCallback() sig

The definitions of PEAR_ErrorStack::setDefaultCallback() are slightly
different in PEAR 1.9.0 and PEAR 1.10.0.  The older one is *implicitly*
static (which, in some deployments of PHP, produces a warning); while the
newer one is *explicitly* static.

This code should work with either signature without warnings.
CRM/Core/Error.php