Beispiel #1
0
    function delete()
    {
        $blog_id =  $this->getProperty('blog_id');

        foreach (BlogEntry::getEntries(array('fk_blog_id' => $blog_id)) as $Entry) {
            $Entry->delete();
        }

        parent::delete();
        BlogImageHelper::RemoveImageDerivates('entry', $entry_id);
        BlogTopic::OnBlogDelete($blog_id);
        $CampCache = CampCache::singleton();
        $CampCache->clear('user');
    }