Remove obsolete line.

Related to #67.
This commit is contained in:
Franz Liedke 2015-05-08 15:12:42 +02:00
parent ec026e514d
commit 62d32bc40c

View File

@ -58,7 +58,6 @@ class Post extends Model
parent::boot();
static::creating(function ($post) {
$post->type = $post::$type;
$post->number = ++$post->discussion->number_index;
$post->discussion->save();
});