Skip to content

Commit

Permalink
Add the missing import in the application (#19709)
Browse files Browse the repository at this point in the history
* Add the missing import in the application

* Use the local logger
  • Loading branch information
laoneo authored and wilsonge committed Feb 16, 2018
1 parent 8551019 commit c9e45bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/src/Application/CMSApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,11 @@ public function getPathway($name = null, $options = array())
else
{
// Name should not be used
Log::add('Name attribute is deprecated, in the future fetch the pathway through the respective application.', Log::WARNING, 'deprecated');
$this->getLogger()->warning(
'Name attribute is deprecated, in the future fetch the pathway '
. 'through the respective application.',
array('category' => 'deprecated')
);
}

try
Expand Down

0 comments on commit c9e45bb

Please sign in to comment.