Skip to content

Commit b5552de

Browse files
author
Igor Chepurnoy
authored
Update README.md
1 parent 65a97ab commit b5552de

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ class CommentModel extends ActiveRecord
115115

116116
public function getStatus()
117117
{
118-
if (!$this->status) {
119-
$this->status = PostStatus::PENDING;
120-
}
121118
return $this->status;
122119
}
123120
}

0 commit comments

Comments
 (0)