mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 17:50:12 +02:00
Code cleanup: deprecated include_lan()
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
include_lan(e_PLUGIN.'/newsletter/languages/English_admin_newsletter.php');
|
||||
e107::includeLan(e_PLUGIN.'/newsletter/languages/English_admin_newsletter.php');
|
||||
|
||||
/*
|
||||
Class for newsletter mailout function
|
||||
|
@@ -16,7 +16,7 @@ if (!e107::isInstalled('newsletter') || !ADMIN)
|
||||
e107::redirect();
|
||||
exit();
|
||||
}
|
||||
include_lan(e_PLUGIN.'newsletter/languages/'.e_LANGUAGE.'.php');
|
||||
e107::includeLan(e_PLUGIN.'newsletter/languages/'.e_LANGUAGE.'.php');
|
||||
require_once(HEADERF);
|
||||
|
||||
$sql = e107::getDb();
|
||||
|
Reference in New Issue
Block a user