API CHANGE Removed @deprecated 2.3 function Debug::sendLiveErrorsTo(): Please use Debug::send_errors_to() instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77392 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-20 07:19:14 +00:00
parent 6369bb80de
commit 2b3889b640

View File

@ -469,16 +469,6 @@ class Debug {
self::$log_errors_to = $logFile; self::$log_errors_to = $logFile;
} }
/**
* Deprecated. Send live errors and warnings to the given address.
* @deprecated 2.3 Use send_errors_to() instead.
*/
static function sendLiveErrorsTo($emailAddress) {
user_error('Debug::sendLiveErrorsTo() is deprecated. Use Debug::send_errors_to() instead.', E_USER_NOTICE);
if(!Director::isDev()) self::send_errors_to($emailAddress, true);
}
static function caller() { static function caller() {
$bt = debug_backtrace(); $bt = debug_backtrace();
$caller = $bt[2]; $caller = $bt[2];