Revert "testing new photo class"

This reverts commit 25e7720d1e0f049040e36a905f938d6aef09f1ba.

Conflicts:
	includes/classes/Post.php