Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cleantalk
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
cleantalk
Commits
a060714f
Commit
a060714f
authored
4 months ago
by
alexandergull
Committed by
glomberg
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
9.1.x sfw update enhancements.ag
parent
509c1242
No related branches found
Branches containing commit
Tags
9.3.3
Tags containing commit
1 merge request
!16
9.1.x sfw update enhancements.ag
Pipeline
#278964
failed
4 months ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/CleantalkFuncs.php
+2
-1
2 additions, 1 deletion
src/CleantalkFuncs.php
src/EventSubscriber/BootSubscriber.php
+6
-0
6 additions, 0 deletions
src/EventSubscriber/BootSubscriber.php
with
8 additions
and
1 deletion
src/CleantalkFuncs.php
+
2
−
1
View file @
a060714f
...
...
@@ -827,7 +827,7 @@ class CleantalkFuncs
\Drupal
::
config
(
'cleantalk.settings'
)
->
get
(
'cleantalk_authkey'
)
?:
''
);
if
(
empty
(
$access_key
))
{
return
FALSE
;
return
false
;
}
}
$firewall
=
new
Firewall
(
...
...
@@ -837,6 +837,7 @@ class CleantalkFuncs
$fw_updater
=
$firewall
->
getUpdater
();
$fw_updater
->
update
();
return
true
;
}
public
static
function
apbct_sfw_send_logs
(
$access_key
=
''
)
{
...
...
This diff is collapsed.
Click to expand it.
src/EventSubscriber/BootSubscriber.php
+
6
−
0
View file @
a060714f
...
...
@@ -126,6 +126,12 @@ class BootSubscriber implements HttpKernelInterface
$locale_code
);
$fw_stats
=
Firewall
::
getFwStats
();
if
(
empty
(
$fw_stats
->
updating_folder
))
{
$fw_stats
->
updating_folder
=
StorageHandler
::
getUpdatingFolder
();
Firewall
::
saveFwStats
(
$fw_stats
);
}
$firewall
->
loadFwModule
(
new
SFW
(
APBCT_TBL_FIREWALL_LOG
,
APBCT_TBL_FIREWALL_DATA
...
...
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