mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
6369bb80de
commit
2b3889b640
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user