function node_limit_delete in Node Limit 6
Same name and namespace in other branches
- 8 old/node_limit.module \node_limit_delete()
- 7 node_limit.module \node_limit_delete()
2 calls to node_limit_delete()
- node_limit_delete_form_submit in ./
node_limit.module - Submission hook for node limit deletion.
- node_limit_save in ./
node_limit.module - Callback to save a node limit back to the database.
File
- ./
node_limit.module, line 505 - Module to restrict the number of nodes a user or role may create.
Code
function node_limit_delete($lid) {
db_query("DELETE FROM {node_limit} WHERE `lid`='%d'", $lid);
module_invoke_all('node_limit_delete', $lid);
}