Update world.php

Removed writeWorld function as it is no longer needed.