Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
220
Issues
220
List
Boards
Labels
Service Desk
Milestones
Merge Requests
37
Merge Requests
37
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
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
5559e8de
Commit
5559e8de
authored
3 minutes ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linting
parent
117f089c
fix/report-reason-email-765
1 merge request
!328
[Sprint/NuancedNumbat](fix): Ban email now returning string of ban reason rather than index.
Pipeline
#84125635
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Events.php
Core/Reports/Events.php
+1
-1
EventsSpec.php
Spec/Core/Reports/EventsSpec.php
+1
-1
No files found.
Core/Reports/Events.php
View file @
5559e8de
...
...
@@ -13,7 +13,7 @@ use Minds\Core\Events\Dispatcher;
use
Minds\Core\Channels\Delegates\Ban
;
class
Events
{
{
public
function
__construct
()
{
$this
->
config
=
Di
::
_
()
->
get
(
'Config'
);
...
...
This diff is collapsed.
Click to expand it.
Spec/Core/Reports/EventsSpec.php
View file @
5559e8de
...
...
@@ -44,7 +44,7 @@ class EventsSpec extends ObjectBehavior
1
=>
'is illegal'
,
2
=>
'Should be marked as explicit'
,
3
=>
'Encourages or incites violence'
,
];
];
Di
::
_
()
->
get
(
'Config'
)
->
set
(
'ban_reasons'
,
$reasons
);
$this
->
getBanReasons
(
1
)
...
...
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