Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flood_control
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
flood_control
Commits
dd299b26
Commit
dd299b26
authored
14 years ago
by
Dave Reid
Browse files
Options
Downloads
Patches
Plain Diff
by Dave Reid: Removed CVS ID tags and removed files[] from flood_control.info.
parent
147c622d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
flood_control.admin.inc
+1
-2
1 addition, 2 deletions
flood_control.admin.inc
flood_control.info
+0
-3
0 additions, 3 deletions
flood_control.info
flood_control.module
+0
-1
0 additions, 1 deletion
flood_control.module
with
1 addition
and
6 deletions
flood_control.admin.inc
+
1
−
2
View file @
dd299b26
<?php
// $Id$
/**
* @file
...
...
@@ -52,7 +51,7 @@ function flood_control_settings_form() {
$form
[
'contact'
][
'contact_threshold_limit'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Sending e-mails limit'
),
'#options'
=>
drupal_map_assoc
(
array
(
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
20
,
30
,
40
,
50
)),
'#options'
=>
drupal_map_assoc
(
array
(
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
20
,
30
,
40
,
50
,
75
,
100
,
125
,
150
,
200
,
250
,
500
)),
'#default_value'
=>
variable_get
(
'contact_threshold_limit'
,
5
),
);
$form
[
'contact'
][
'contact_threshold_window'
]
=
array
(
...
...
This diff is collapsed.
Click to expand it.
flood_control.info
+
0
−
3
View file @
dd299b26
; $Id$
name = Flood control
description = "Interface for hidden flood control options."
core = 7.x
files[] = flood_control.module
files[] = flood_control.admin.inc
configure = admin/config/system/flood-control
This diff is collapsed.
Click to expand it.
flood_control.module
+
0
−
1
View file @
dd299b26
<?php
// $Id$
/**
* Implements hook_menu().
...
...
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