Commit c6b9b29d authored by xurizaemon's avatar xurizaemon

CRM-20181. Document why we must be rid of this troublesome function.

parent 5d42e8e3
......@@ -310,6 +310,11 @@ class CRM_Core_Error extends PEAR_ErrorStack {
/**
* Display an error page with an error message describing what happened.
*
* @deprecated
* This is a really annoying function. We ❤ exceptions. Be exceptional!
*
* @see CRM-20181
*
* @param string $message
* The error message.
* @param string $code
......@@ -318,8 +323,6 @@ class CRM_Core_Error extends PEAR_ErrorStack {
* The email address to notify of this situation.
*
* @throws Exception
*
* @deprecated
*/
public static function fatal($message = NULL, $code = NULL, $email = NULL) {
$vars = array(
......
Markdown is supported
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