diff options
Diffstat (limited to 'lib/folder.php')
-rw-r--r-- | lib/folder.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/folder.php b/lib/folder.php index 6654b2f5e..14951d57c 100644 --- a/lib/folder.php +++ b/lib/folder.php @@ -48,7 +48,11 @@ class OC_News_Folder extends OC_News_Collection { public function addChild(OC_News_Collection $child){ $this->children[] = $child; } - + + public function addChildren($children){ + $this->children = $children; + } + public function getChildren(){ return $this->children; } |