summaryrefslogtreecommitdiff
path: root/htdocs/index.php
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-05-25 11:32:49 -0700
committerJesse Morgan <jesse@jesterpm.net ; true>2011-05-25 11:32:49 -0700
commit0c72d673a9056c753503e6b2a8d4fbf3aba75a95 (patch)
tree94d9ef802da3f4fa0b3a00fd909a576fc63ed844 /htdocs/index.php
parenta39f9512f0efd3ec3e0a31df656e25dd3f824f6d (diff)
Moderation workflow is.. working
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>";