Skip to content
Snippets Groups Projects
Commit 3ff6d635 authored by Michael Logvin's avatar Michael Logvin
Browse files

MAGETWO-50676: EntityManager introduction

parent 706c9606
No related merge requests found
......@@ -198,7 +198,7 @@ class Page extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
*/
public function delete(AbstractModel $object)
{
$this->entityManager->delete(PageInterface::class, $object);
$this->entityManager->delete($object, PageInterface::class);
return $this;
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment