[pLog-svn] r5563 - plog/branches/lifetype-1.2/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Fri Jun 22 16:55:25 EDT 2007
Author: oscar
Date: 2007-06-22 16:55:25 -0400 (Fri, 22 Jun 2007)
New Revision: 5563
Modified:
plog/branches/lifetype-1.2/class/dao/articles.class.php
Log:
Part of the fix for purging articles, as the method for deleting the link between a category and an article was unfortunately not even being called.
Modified: plog/branches/lifetype-1.2/class/dao/articles.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-06-22 20:34:37 UTC (rev 5562)
+++ plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-06-22 20:55:25 UTC (rev 5563)
@@ -1106,6 +1106,9 @@
// delete the text
$this->deleteArticleText( $artId );
+ // update the links with article categories
+ $this->deletePostCategoriesLink( $article );
+
// update global article categories
$this->updateGlobalArticleCategoriesLink( $article );
More information about the pLog-svn
mailing list