summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BitArticleTopic.php4
-rw-r--r--BitArticleType.php4
-rw-r--r--admin/schema_inc.php2
3 files changed, 4 insertions, 6 deletions
diff --git a/BitArticleTopic.php b/BitArticleTopic.php
index 3b3e779..9b497f0 100644
--- a/BitArticleTopic.php
+++ b/BitArticleTopic.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleTopic.php,v 1.20 2006/02/01 18:40:27 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleTopic.php,v 1.21 2006/02/02 07:55:23 squareing Exp $
* @package article
*/
@@ -98,7 +98,7 @@ class BitArticleTopic extends BitBase {
if ($this->verify($iParamHash)) {
if (!$iParamHash['topic_id']) {
- $topicId = $this->mDb->GenID('article_topics_t_id_seq');
+ $topicId = $this->mDb->GenID('articles_topics_id_seq');
} else {
$topicId = $this->mTopicId;
}
diff --git a/BitArticleType.php b/BitArticleType.php
index dd91e8d..505e3ad 100644
--- a/BitArticleType.php
+++ b/BitArticleType.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleType.php,v 1.13 2006/01/31 20:16:24 bitweaver Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleType.php,v 1.14 2006/02/02 07:55:23 squareing Exp $
* @package article
*/
@@ -98,7 +98,7 @@ class BitArticleType extends BitBase
if ($this->verify($iParamHash)) {
if (!$iParamHash['article_type_id']) {
if (empty($this->mTopicId)) {
- $typeId = $this->mDb->GenID('article_types_a_t_id_seq');
+ $typeId = $this->mDb->GenID('articles_types_id_seq');
} else {
$typeId = $this->mTopicId;
}
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 2cbe94b..84687f5 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -45,8 +45,6 @@ $tables = array(
comment_can_rate_article C(1)
",
- // tiki_topics renamed to article_topics
- // name renamed to topic_name
'article_topics' => "
topic_id I4 AUTO PRIMARY,
topic_name C(40),