summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-05-01 06:33:35 -0400
committerDries Buytaert <dries@buytaert.net>2011-05-01 06:33:35 -0400
commit994ed97e83b0259809addba36bce28236aa29df8 (patch)
tree9237bda00aa70b9bd1edf3b4e33ca0ecfd4d1e39 /modules/node
parent400284fb2cb1bc261120874fd000868ef50e5aaf (diff)
downloadbrdo-994ed97e83b0259809addba36bce28236aa29df8.tar.gz
brdo-994ed97e83b0259809addba36bce28236aa29df8.tar.bz2
- Patch #1051870 by boombatower: remove unused variable initialization.
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index fb3756de2..a002e24c3 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -489,7 +489,6 @@ function node_type_load($name) {
* Status flag indicating outcome of the operation.
*/
function node_type_save($info) {
- $is_existing = FALSE;
$existing_type = !empty($info->old_type) ? $info->old_type : $info->type;
$is_existing = (bool) db_query_range('SELECT 1 FROM {node_type} WHERE type = :type', 0, 1, array(':type' => $existing_type))->fetchField();
$type = node_type_set_defaults($info);