function commit() { if (!isset($this->id)) { $content = new album_content(); $content->generate_from_id($this->owner_id); $content->inc_comments_amount(); $content->commit(); } comment::commit(); }
function commit() { if (!isset($this->id)) { $content = new album_content(); $content->generate_from_id($this->owner_id); $content->inc_comments_amount(); $content->commit(); } comment::commit(); }