The maintainer was successfully added into the database
\n"; //delete the item from the queue query_appdb("DELETE from appMaintainerQueue where queueId = ".$_REQUEST['queueId'].";"); //Send Status Email if (lookupEmail($ob->userId)) { $ms = "Application Maintainer Request Report\n"; $ms .= "----------------------------------\n\n"; $ms .= "Your application to be the maintainer of ".appIdToName($ob->appId).versionIdToName($ob->versionId)." has been accepted. "; $ms .= $_REQUEST['replyText']; $ms .= "We appreciate your help in making the Application Database better for all users.\n\n"; $ms .= "Thanks!\n"; $ms .= "-The AppDB admins\n"; mail(stripslashes(lookupEmail($ob->userId)),'[AppDB] Maintainer Request Report',$ms); } //done addmsg("$statusMessage
", 'green'); } } else if (($_REQUEST['reject'] || ($_REQUEST['sub'] == 'reject')) && $_REQUEST['queueId']) { if (lookupEmail($ob->userId)) { $ms = "Application Maintainer Request Report\n"; $ms .= "----------------------------------\n\n"; $ms .= "Your application to be the maintainer of ".appIdToName($ob->appId).versionIdToName($ob->versionId)." was rejected. "; $ms .= $_REQUEST['replyText']; $ms .= ""; $ms .= "-The AppDB admins\n"; mail(stripslashes(lookupEmail($ob->userId)),'[AppDB] Maintainer Request Report',$ms); } //delete main item $query = "DELETE from appMaintainerQueue where queueId = ".$_REQUEST['queueId'].";"; $result = query_appdb($query,"unable to delete selected maintainer application"); echo html_frame_start("Delete maintainer application",400,"",0); if($result) { //success echo "Maintainer application was successfully deleted from the Queue.
\n"; } echo html_frame_end(" "); echo html_back_link(1,'adminMaintainerQueue.php'); } else { //error no sub! addmsg('Internal Routine Not Found!
', 'red'); } } /* display the list of all outstanding maintainer requests */ { apidb_header("Admin Maintainer Queue"); echo '"; apidb_footer(); } } ?>