move delete plan from command into data.inc.php

move delete plan from command.inc.php into data.inc.php #281