FEATURE: add soft deletes to content pages

This commit is contained in:
Michal Kváček
2016-09-22 21:57:45 +02:00
parent b982831fbf
commit d5d4216a80
9 changed files with 67 additions and 46 deletions
+1 -3
View File
@@ -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;
}
}