Skip to content

Commit

Permalink
Fix codestyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Nov 13, 2012
1 parent 585abc3 commit 2271b7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/legacy/updater/adapters/extension.php
Expand Up @@ -208,8 +208,12 @@ public function findUpdate($options)
if (is_numeric($this->latest->client))
{
$byName = false;

// <client> has to be 'administrator' or 'site', numeric values are depreceated. See http://docs.joomla.org/Design_of_JUpdate
JLog::add('Using numeric values for <client> in the updater xml is deprecated. Use \'administrator\' or \'site\' instead.', JLog::WARNING, 'deprecated');
JLog::add(
'Using numeric values for <client> in the updater xml is deprecated. Use \'administrator\' or \'site\' instead.',
JLog::WARNING, 'deprecated'
);
}
else
{
Expand Down

0 comments on commit 2271b7d

Please sign in to comment.