/** * Delete config field values * * @param string $path * @param string $scope (default|stores|websites|config) * @return Mage_Core_Model_Resource_Setup */ public function deleteConfigData($path, $scope = null) { $sql = "delete from " . $this->getTable('core/config_data') . " where path='" . $path . "'"; if ($scope) { $sql .= " and scope='" . $scope . "'"; } $this->_conn->raw_query($sql); return $this; }