function sbp_paths_sbp_delete_environment in Search by Page 6
Same name and namespace in other branches
- 7 sbp_paths.module \sbp_paths_sbp_delete_environment()
Implementation of hook_sbp_delete_environment().
Removes the environment from paths database table.
File
- ./
sbp_paths.module, line 517 - Module file for Search by Page Paths, a sub-module for Search by Page.
Code
function sbp_paths_sbp_delete_environment($environment) {
$envid = intval($environment);
db_query('DELETE FROM {sbpp_path} WHERE environment=%d', $envid);
}