use include/language.php for all language and translation code

This commit is contained in:
friendica
2012-07-16 01:26:26 -07:00
parent 945ac38a73
commit c148455570
6 changed files with 145 additions and 148 deletions

View File

@@ -826,7 +826,6 @@ function item_store($arr,$force_parent = false) {
if((strpos($arr['body'],'<') !== false) || (strpos($arr['body'],'>') !== false))
$arr['body'] = strip_tags($arr['body']);
require_once('include/language.php');
$arr['lang'] = detect_language($arr['body']);