changeset 222:b236b4d8d7a9

Remove useless code.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 18 Nov 2013 02:43:05 +0200
parents 2b39068c4968
children 532704115290
files msite.inc.php
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/msite.inc.php	Mon Nov 18 02:00:32 2013 +0200
+++ b/msite.inc.php	Mon Nov 18 02:43:05 2013 +0200
@@ -153,15 +153,14 @@
 }
 
 
-function stPrintNewsItem($item, $edit = "")
+function stPrintNewsItem($item)
 {
   echo
   "<div class=\"newsitem\" id=\"news".$item["id"]."\">\n".
   "  <h2>".chentities($item["title"])."</h2>\n".
   "  <div class=\"text\">".dhentities($item["text"])."</div>\n".
   "  <div class=\"sig\">-- ".chentities($item["author"])."<br />".
-    date("d M Y / H:i", $item["utime"]).
-    $edit."</div>\n".
+  date("d M Y / H:i", $item["utime"])."</div>\n".
   "</div>\n";
 }