1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 09:10:23 +02:00

Deprecated function include_lan() cleanup. Replaced with e107::lan();

This commit is contained in:
Cameron
2014-02-07 07:03:05 -08:00
parent c6d29662a7
commit f96f755318
20 changed files with 57 additions and 338 deletions

View File

@@ -32,7 +32,9 @@ class e_linkwords
global $pref, $admin_log;
/* constructor */
// Do an auto-update on the variable used to hook parsers - so we should only be called once
include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php");
e107::lan('linkwords',e_LANGUAGE); // e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php"
$hooks = explode(",",$pref['tohtml_hook']);
if (($key=array_search('linkwords',$hooks)) !== FALSE)
{