Skip to content

Commit

Permalink
Change deprecated version to match 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Apr 1, 2021
1 parent afc196a commit 661407c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/Application/CMSApplication.php
Expand Up @@ -305,14 +305,14 @@ protected function checkUserRequireReset($option, $view, $layout, $tasks)
* @return mixed The user state.
*
* @since 3.2
* @deprecated 4.0 Use get() instead
* @deprecated 5.0 Use get() instead
*/
public function getCfg($varname, $default = null)
{
try
{
\JLog::add(
sprintf('%s() is deprecated and will be removed in 4.0. Use JFactory->getApplication()->get() instead.', __METHOD__),
sprintf('%s() is deprecated and will be removed in 5.0. Use JFactory->getApplication()->get() instead.', __METHOD__),
\JLog::WARNING,
'deprecated'
);
Expand Down

0 comments on commit 661407c

Please sign in to comment.