diff options
| author | wjames5 <will@tekimaki.com> | 2009-06-17 23:24:52 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2009-06-17 23:24:52 +0000 |
| commit | 1c64ab32e066d826128f47891223a9f1e35b9982 (patch) | |
| tree | d68f13d08ff9e6ec3ff2475fd87230ba9e5e15ea | |
| parent | f3353d8224a49747b7c91987b6a983570e5efcb3 (diff) | |
| download | liberty-1c64ab32e066d826128f47891223a9f1e35b9982.tar.gz liberty-1c64ab32e066d826128f47891223a9f1e35b9982.tar.bz2 liberty-1c64ab32e066d826128f47891223a9f1e35b9982.zip | |
Mime is parent - comment out weird call to expungeMetaData until can be explored makes no sense as is
| -rw-r--r-- | LibertyComment.php | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/LibertyComment.php b/LibertyComment.php index 05cd974..7e7fea1 100644 --- a/LibertyComment.php +++ b/LibertyComment.php @@ -3,7 +3,7 @@ * Management of Liberty Content * * @package liberty - * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyComment.php,v 1.83 2009/05/15 18:14:56 spiderr Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyComment.php,v 1.84 2009/06/17 23:24:52 wjames5 Exp $ * @author spider <spider@steelsun.com> */ @@ -223,11 +223,17 @@ class LibertyComment extends LibertyMime { $sql = "DELETE FROM `".BIT_DB_PREFIX."liberty_comments` WHERE `comment_id` = ?"; $rs = $this->mDb->query($sql, array($this->mCommentId)); + /* + * TODO: figureout why this is even here. Mime should handle this and it needs to pass in mandatory attachmentId + * Slated to delete for now - wjames5 + */ + /* if (method_exists($this,'expungeMetaData')) { $this->expungeMetaData(); } + */ - if( LibertyAttachable::expunge() ) { + if( LibertyMime::expunge() ) { $ret = TRUE; $this->mDb->CompleteTrans(); } else { @@ -267,12 +273,17 @@ class LibertyComment extends LibertyMime { $sql = "DELETE FROM `".BIT_DB_PREFIX."liberty_comments` WHERE `comment_id` = ?"; $rs = $this->mDb->query($sql, array($this->mCommentId)); + /* + * TODO: figureout why this is even here. Mime should handle this and it needs to pass in mandatory attachmentId + * Slated to delete for now - wjames5 + */ + /* if (method_exists($this,'expungeMetaData')) { - // TODO: needs to pass in mandatory attachmentId, where does it come from? - spiderr $this->expungeMetaData(); } + */ - if( LibertyAttachable::expunge() ) { + if( LibertyMime::expunge() ) { $ret = TRUE; $this->mDb->CompleteTrans(); } else { |
