summaryrefslogtreecommitdiff
path: root/htdocs/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/index.php')
-rw-r--r--htdocs/index.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/htdocs/index.php b/htdocs/index.php
index 6ac32ff..148cfd6 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -21,7 +21,6 @@ $posts->limit(5);
$posts->query();
if ($posts->valid()) {
- for ($i = 0; $i < 10; $i++) {
foreach ($posts as $id => $post) {
printf("<div class=\"post\"><p><a href=\"". $GLOBALS['CONFIG']['urlroot']
. "/postings/%s.html\">%s</a></p>"
@@ -30,7 +29,6 @@ if ($posts->valid()) {
$id, $post->getName(), $post->getLocation(), $post->getAge());
}
- }
} else {
echo "<p>No recent posts.</p>";