modify
This commit is contained in:
@@ -322,6 +322,8 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
*/
|
*/
|
||||||
public function recover()
|
public function recover()
|
||||||
{
|
{
|
||||||
|
$this->clean();
|
||||||
|
|
||||||
/** @var Channel $channel */
|
/** @var Channel $channel */
|
||||||
$channel = Snowflake::app()->get('channel');
|
$channel = Snowflake::app()->get('channel');
|
||||||
return $channel->push($this, get_called_class());
|
return $channel->push($this, get_called_class());
|
||||||
|
|||||||
Reference in New Issue
Block a user