mirror of
https://github.com/flarum/core.git
synced 2025-10-19 10:46:06 +02:00
Change "renamed" post type to more descriptive "discussionRenamed"
This commit is contained in:
@@ -64,7 +64,7 @@ class DiscussionsTableSeeder extends Seeder
|
||||
'discussion_id' => $discussion->id,
|
||||
'time' => $startTime = date_add($startTime, date_interval_create_from_date_string('1 second')),
|
||||
'user_id' => rand(1, $users),
|
||||
'type' => 'renamed',
|
||||
'type' => 'discussionRenamed',
|
||||
'content' => json_encode(array($faker->realText(rand(20, 40)), $discussion->title))
|
||||
]);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user