mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fix wrong warning info: Director -> Debug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47851 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ebc50a85c7
commit
9750028e8d
@ -234,7 +234,7 @@ class Debug {
|
||||
* @deprecated Use send_errors_to() instead.
|
||||
*/
|
||||
static function sendLiveErrorsTo($emailAddress) {
|
||||
user_error('Debug::sendLiveErrorsTo() is deprecated. Use Director::send_errors_to() instead.', E_USER_NOTICE);
|
||||
user_error('Debug::sendLiveErrorsTo() is deprecated. Use Debug::send_errors_to() instead.', E_USER_NOTICE);
|
||||
if(!Director::isDev()) self::send_errors_to($emailAddress, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user