diff options
Diffstat (limited to 'includes/model')
| -rw-r--r-- | includes/model/Post.php | 12 | 
1 files changed, 0 insertions, 12 deletions
| diff --git a/includes/model/Post.php b/includes/model/Post.php index 42add02..49fd640 100644 --- a/includes/model/Post.php +++ b/includes/model/Post.php @@ -94,18 +94,6 @@ class Post  		$result = '<div class="header" id="p' . $this->id . '"><b>#' . $this->id . '</b>';  		$result .= ' Posted by <a href="viewuser.php?id=' . $this->author->id . '">' . $this->author->name . '</a>';  		$result .= ' on ' . date('m/d/Y g:ia', strtotime($this->date_created)); - -		// If the post has a edit date, display it -		if (!is_null($this->date_edited)) { -			$result .= ' <small>edited ' . date('m/d/Y g:ia', strtotime($this->date_edited)) . '</small>'; -		} - -		// Append a manage post button if the user is signed in and is the post's creator -		if (Session::get()->is_signed_in() && Session::get()->get_current_user()->id == $this->author->id) { -			$result .= '<span style="float:right;">'; -			$result .= '[<a href="manage_post.php?id=' . $this->id . '">Edit/Delete</a>]'; -			$result .= '</span>'; -		}  		$result .= '</div>';  		// Append the formatted post content | 
