Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Composr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
Composr ecosystem
Composr
Commits
8dcbf322
Commit
8dcbf322
authored
1 month ago
by
Patrick Schmalstig
Browse files
Options
Downloads
Patches
Plain Diff
Remove unnecessary TODO in admin_leader_board
parent
893a6454
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
adminzone/pages/modules/admin_leader_board.php
+0
-5
0 additions, 5 deletions
adminzone/pages/modules/admin_leader_board.php
with
0 additions
and
5 deletions
adminzone/pages/modules/admin_leader_board.php
+
0
−
5
View file @
8dcbf322
...
@@ -273,12 +273,7 @@ class Module_admin_leader_board extends Standard_crud_module
...
@@ -273,12 +273,7 @@ class Module_admin_leader_board extends Standard_crud_module
$timeframes
=
new
Tempcode
();
$timeframes
=
new
Tempcode
();
$timeframes
->
attach
(
form_input_list_entry
(
'week'
,
$timeframe
==
'week'
,
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME_week'
)));
$timeframes
->
attach
(
form_input_list_entry
(
'week'
,
$timeframe
==
'week'
,
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME_week'
)));
// TODO: #6001 month operations are extremely unreliable; this has been disabled until it can be fixed
$timeframes
->
attach
(
form_input_list_entry
(
'month'
,
$timeframe
==
'month'
,
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME_month'
)));
$timeframes
->
attach
(
form_input_list_entry
(
'month'
,
$timeframe
==
'month'
,
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME_month'
)));
//require_code('comcode');
//attach_message(comcode_to_tempcode('Monthly leader-boards have been temporarily disabled until they can be fixed. See [url="Tracker issue #6001"]https://composr.app/tracker/view.php?id=6001[/url]'), 'notice');
$timeframes
->
attach
(
form_input_list_entry
(
'year'
,
$timeframe
==
'year'
,
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME_year'
)));
$timeframes
->
attach
(
form_input_list_entry
(
'year'
,
$timeframe
==
'year'
,
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME_year'
)));
$fields
->
attach
(
form_input_list
(
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME'
),
do_lang_tempcode
(
'DESCRIPTION_LEADER_BOARD_TIME_FRAME'
),
'timeframe'
,
$timeframes
));
$fields
->
attach
(
form_input_list
(
do_lang_tempcode
(
'LEADER_BOARD_TIME_FRAME'
),
do_lang_tempcode
(
'DESCRIPTION_LEADER_BOARD_TIME_FRAME'
),
'timeframe'
,
$timeframes
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment