in progress : reorder image

This commit is contained in:
Etienne Roudeix
2013-12-12 15:30:10 +01:00
parent ff828bf1ba
commit 93537b8d71
17 changed files with 282 additions and 21 deletions

View File

@@ -49,4 +49,14 @@ class ContentImage extends BaseContentImage
{
return $this->getContentId();
}
public function preDelete(ConnectionInterface $con = null)
{
$this->reorderBeforeDelete(
array(
"content_id" => $this->getContentId(),
)
);
return true;
}
}