mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fix duplicate constant in lancheckTest
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user