MDL-46585 lang: display debugging message when deprecated string is used
This commit is contained in:
@@ -79,6 +79,19 @@ class core_string_manager_install implements core_string_manager {
|
||||
return (strpos($str, '[[') === false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Has string been deprecated?
|
||||
*
|
||||
* No deprecated string in installation, unused strings are simply removed.
|
||||
*
|
||||
* @param string $identifier The identifier of the string to search for
|
||||
* @param string $component The module the string is associated with
|
||||
* @return bool true if deprecated
|
||||
*/
|
||||
public function string_deprecated($identifier, $component) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get String returns a requested string
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user