Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
134
Issues
134
List
Boards
Labels
Service Desk
Milestones
Merge Requests
28
Merge Requests
28
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
2bfd6871
Commit
2bfd6871
authored
1 hour ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): Don't set TTL for declined summons
parent
34f6abf2
epic/ReportingAndModeration
1 merge request
!100
Epic/reporting and moderation
Pipeline
#62199126
passed with stages
in 4 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Manager.php
Core/Reports/Summons/Manager.php
+4
-2
No files found.
Core/Reports/Summons/Manager.php
View file @
2bfd6871
...
...
@@ -150,8 +150,10 @@ class Manager
throw
new
Exception
(
'User is not summoned'
);
}
$summons
->
setTtl
(
10
*
60
);
if
(
!
$summons
->
isDeclined
())
{
$summons
->
setTtl
(
10
*
60
);
}
$this
->
repository
->
add
(
$summons
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment