summaryrefslogtreecommitdiff
path: root/src/PhpBB3.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PhpBB3.php')
-rw-r--r--src/PhpBB3.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/PhpBB3.php b/src/PhpBB3.php
index 3c6a508..381c9a4 100644
--- a/src/PhpBB3.php
+++ b/src/PhpBB3.php
@@ -44,18 +44,6 @@ class PhpBB3 {
return $names[$id];
}
- public function getTopicId($postId) {
- throw_if_null($post_id);
-
- global $db;
-
- $sql = 'SELECT topic_id FROM ' . POSTS_TABLE . ' ' .
- 'WHERE post_id = ' . $post_id;
-
- $row = $this->get_exactly_one_row($sql);
- return $row ? $row['topic_id'] : false;
- }
-
public function getTopicAndForumIds($post_id) {
throw_if_null($post_id);
@@ -132,18 +120,6 @@ class PhpBB3 {
return $row ? $row['post_time'] : false;
}
- public function getFirstPostId($topicId) {
- throw_if_null($topicId);
-
- global $db;
-
- $sql = 'SELECT topic_first_post_id FROM ' . TOPICS_TABLE . ' ' .
- 'WHERE topic_id = ' . $topicId;
-
- $row = $this->get_exactly_one_row($sql);
- return $row ? $row['topic_first_post_id'] : false;
- }
-
public function postMessage($postType, $forumId, $topicId, $msg) {
throw_if_null($msg);