summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-19 17:31:11 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-19 17:31:11 +1100
commit8c8e2486ebfe50739486e1586e4098847695129b (patch)
treee62f7740ab34ee144b053616c147726eb51183a7 /mod.php
parent4d8f3a67ff2ece6ab26f3b962435d18fa81bd3ea (diff)
Removed completely useless code
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod.php b/mod.php
index cfc2a438..9424ab54 100644
--- a/mod.php
+++ b/mod.php
@@ -657,9 +657,9 @@
while($post = $query->fetch()) {
if(!$post['thread']) {
- $po = new Thread($post['id'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['sticky'], $post['locked'], $mod ? '?/' : $config['root'], $mod, false);
+ $po = new Thread($post['id'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['sticky'], $post['locked'], '?/', $mod, false);
} else {
- $po = new Post($post['id'], $post['thread'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $mod ? '?/' : $config['root'], $mod);
+ $po = new Post($post['id'], $post['thread'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], '?/', $mod);
}
$temp .= $po->build(true) . '<hr/>';
}