public function doExecute() { $username = $this->request->getProperty("username"); $password = $this->request->getProperty("password"); if ($username == null) { throw new Exception("you must supply username paramater"); } if ($password == null) { throw new Exception("you must supply a password paramater"); } echo "\n\nUPGRADE DATABASE \n\n"; echo " Executing KB upgrade . . . "; $data = new Xerxes_DataMap(null, $username, $password); $data->upgradeKB(); echo "done!\n"; }