FEATURE: add soft deletes to content pages
This commit is contained in:
@@ -12,7 +12,6 @@ class DeleteContent extends Event
|
||||
* @var Content
|
||||
*/
|
||||
public $page;
|
||||
public $revision;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
@@ -20,9 +19,8 @@ class DeleteContent extends Event
|
||||
* @param Content $page
|
||||
* @param $revision
|
||||
*/
|
||||
public function __construct(Content $page, $revision)
|
||||
public function __construct(Content $page)
|
||||
{
|
||||
$this->page = $page;
|
||||
$this->revision = $revision;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user