1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 14:37:49 +02:00

Change "renamed" post type to more descriptive "discussionRenamed"

This commit is contained in:
Toby Zerner
2015-03-28 13:38:44 +10:30
parent 89eca757e6
commit 49c3fa09e6
7 changed files with 16 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
<?php namespace Flarum\Core\Models;
class RenamedPost extends Post
class DiscussionRenamedPost extends Post
{
/**
* Create a new instance in reply to a discussion.
@@ -19,7 +19,7 @@ class RenamedPost extends Post
$post->time = time();
$post->discussion_id = $discussionId;
$post->user_id = $userId;
$post->type = 'renamed';
$post->type = 'discussionRenamed';
return $post;
}