Skip to content
Snippets Groups Projects
Commit ccb1c577 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

add warning in log if OC_L10N::tA was called

parent 296f79d1
Branches
No related tags found
No related merge requests found
......@@ -154,8 +154,15 @@ class OC_L10N{
*
* Returns the translation. If no translation is found, $textArray will be
* returned.
*
*
* @deprecated deprecated since ownCloud version 5.0
* This method will probably be removed with ownCloud 6.0
*
*
*/
public function tA($textArray){
OC_Log::write('core', 'DEPRECATED: the method tA is deprecated and will be removed soon.',OC_Log::WARN);
$result = array();
foreach($textArray as $key => $text){
$result[$key] = (string)$this->t($text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment