Skip to content

Commit

Permalink
Removing the notice when a global value is not found. (#12858)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunziker authored and roland-d committed Nov 13, 2016
1 parent 631501d commit 9196431
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion administrator/language/en-GB/en-GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ JGLOBAL_TYPE_OR_SELECT_CATEGORY="Type or Select a Category"
JGLOBAL_TYPE_OR_SELECT_SOME_OPTIONS="Type or select some options"
JGLOBAL_USE_GLOBAL="Use Global"
JGLOBAL_USE_GLOBAL_VALUE="Use Global (%s)"
JGLOBAL_USE_GLOBAL_VALUE_NOT_FOUND="Unfortunately there was no global value found for at least one field. Saving the options may help to remedy this issue."
JGLOBAL_USERNAME="Username"
JGLOBAL_VALIDATION_FORM_FAILED="Invalid form"
JGLOBAL_VIEW_SITE="View Site"
Expand Down
1 change: 0 additions & 1 deletion language/en-GB/en-GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ JGLOBAL_TYPE_OR_SELECT_CATEGORY="Type or Select a Category"
JGLOBAL_TYPE_OR_SELECT_SOME_OPTIONS="Type or select some options"
JGLOBAL_USE_GLOBAL="Use Global"
JGLOBAL_USE_GLOBAL_VALUE="Use Global (%s)"
JGLOBAL_USE_GLOBAL_VALUE_NOT_FOUND="Unfortunately there was no global value found for at least one field. Saving the options may help to remedy this issue."
JGLOBAL_USERNAME="Username"
JGLOBAL_VALIDATION_FORM_FAILED="Invalid form"
JGLOBAL_YOU_MUST_LOGIN_FIRST="Please login first"
Expand Down
4 changes: 0 additions & 4 deletions libraries/joomla/form/abstractlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,6 @@ protected function getOptions()

$tmp->text = JText::sprintf('JGLOBAL_USE_GLOBAL_VALUE', $value);
}
else
{
JFactory::getApplication()->enqueueMessage(JText::_('JGLOBAL_USE_GLOBAL_VALUE_NOT_FOUND'), 'notice');
}

array_unshift($options, $tmp);
}
Expand Down
4 changes: 0 additions & 4 deletions libraries/joomla/form/fields/text.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ protected function getInput()

$this->hint = JText::sprintf('JGLOBAL_USE_GLOBAL_VALUE', $value);
}
else
{
JFactory::getApplication()->enqueueMessage(JText::_('JGLOBAL_USE_GLOBAL_VALUE_NOT_FOUND'), 'notice');
}
}

return $this->getRenderer($this->layout)->render($this->getLayoutData());
Expand Down

0 comments on commit 9196431

Please sign in to comment.