update default param of content model

This commit is contained in:
Manuel Raynaud
2013-09-21 16:07:25 +02:00
parent f44b7daf8c
commit 1da66ece29
7 changed files with 43 additions and 18 deletions

View File

@@ -34,7 +34,8 @@ class Content extends BaseContent
public function getDefaultFolderId()
{
//@TODO update contentFolder Table, adding by_default column
//@TODO update contentFolder Table, adding by_default column and change this code for returnin good value
return $this->getFolders()->getFirst()->getId();
}