mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Fix duplicate constant in lancheckTest
This commit is contained in:
parent
62a547aed2
commit
b4e48f8cbf
@ -15,14 +15,6 @@ if (!defined('e107_INIT'))
|
||||
require_once("../class2.php");
|
||||
}
|
||||
|
||||
/*
|
||||
if (!getperms("L"))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
exit;
|
||||
}
|
||||
*/
|
||||
|
||||
e107::coreLan('lancheck', true);
|
||||
|
||||
$e_sub_cat = 'language';
|
||||
|
@ -15,9 +15,6 @@
|
||||
|
||||
protected function _before()
|
||||
{
|
||||
// fix for getperms("L") check in lancheck.php
|
||||
define('ADMINPERMS', 'L');
|
||||
|
||||
require_once(e_ADMIN."lancheck.php");
|
||||
|
||||
try
|
||||
@ -28,8 +25,6 @@
|
||||
{
|
||||
$this->fail("Couldn't load lancheck object");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user