MDL-46585 lang: display debugging message when deprecated string is used

This commit is contained in:
Marina Glancy
2014-09-12 10:24:43 +08:00
parent c78cf06d9e
commit 4b867a063a
4 changed files with 136 additions and 1 deletions
+13
View File
@@ -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
*