Skip to content

Commit

Permalink
use namespaced classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Jan 16, 2021
1 parent 9254721 commit 3ccf3aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion administrator/includes/framework.php
Expand Up @@ -85,7 +85,7 @@
else
{
// Make sure handler for E_USER_DEPRECATED is registered
set_error_handler(['JErrorPage', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED);
set_error_handler(['Joomla\CMS\Exception\ExceptionHandler', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED);
}

if (JDEBUG || $config->error_reporting === 'maximum')
Expand Down
2 changes: 1 addition & 1 deletion api/includes/framework.php
Expand Up @@ -90,7 +90,7 @@
else
{
// Make sure handler for E_USER_DEPRECATED is registered
set_error_handler(['JErrorPage', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED);
set_error_handler(['Joomla\CMS\Exception\ExceptionHandler', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED);
}

if (JDEBUG || $config->error_reporting === 'maximum')
Expand Down
2 changes: 1 addition & 1 deletion includes/framework.php
Expand Up @@ -88,7 +88,7 @@
else
{
// Make sure handler for E_USER_DEPRECATED is registered
set_error_handler(['JErrorPage', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED);
set_error_handler(['Joomla\CMS\Exception\ExceptionHandler', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED);
}

if (JDEBUG || $config->error_reporting === 'maximum')
Expand Down

0 comments on commit 3ccf3aa

Please sign in to comment.