Skip to content

Commit 58d7dc8

Browse files
committed
Admin: #change remove restriction due to experimental feature on access to entry to main/admin/user_move_stats.php in the administration menu - refs BT#22503
1 parent ec0fb45 commit 58d7dc8

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Diff for: main/admin/index.php

+5-8
Original file line numberDiff line numberDiff line change
@@ -639,14 +639,11 @@
639639
$allowCareer = api_get_configuration_value('allow_session_admin_read_careers');
640640

641641
if (api_is_platform_admin() || ($allowCareer && api_is_session_admin())) {
642-
// option only visible in development mode. Enable through code if required
643-
if (is_dir(api_get_path(SYS_TEST_PATH).'datafiller/')) {
644-
$items[] = [
645-
'class' => 'item-session-user-move-stats',
646-
'url' => 'user_move_stats.php',
647-
'label' => get_lang('MoveUserStats'),
648-
];
649-
}
642+
$items[] = [
643+
'class' => 'item-session-user-move-stats',
644+
'url' => 'user_move_stats.php',
645+
'label' => get_lang('MoveUserStats'),
646+
];
650647

651648
$items[] = [
652649
'class' => 'item-session-user-move',

0 commit comments

Comments
 (0)