Update post.php

Removed unneeded code