I think you mean you just want to convert the anchor url from https to http?
Then you could do
<?php echo str_replace( 'https://', 'http://',$this->getDeleteUrl()) ?>
Changing the base url in the database programatically can also be done but it is probably a very bad idea.
$resource = Mage::getSingleton('core/resource');
$writeConnection = $resource->getConnection('core_write');
$query = "update core_config_data set value = 'http://domainname/' where path = 'web/unsecure/base_url';";
$writeConnection->query($query);
$query = "update core_config_data set value = 'https://domainname/' where path = 'web/secure/base_url';";
$writeConnection->query($query);