1
0
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:
Nick Liu 2020-01-17 17:26:49 +01:00
parent 62a547aed2
commit b4e48f8cbf
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
2 changed files with 0 additions and 13 deletions

View File

@ -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';

View File

@ -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");
}
}