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