diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-06 16:44:05 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-06 16:44:05 -0500 |
commit | 75b31ddfaed2c183ec3ccf903c468d2d7f485e20 (patch) | |
tree | 96fa0a382a230edb958cd8a1a277e351e6497d50 /engine | |
parent | 0d9e96f36c3397730b2674cdd48a6c17298d80b3 (diff) | |
download | elgg-75b31ddfaed2c183ec3ccf903c468d2d7f485e20.tar.gz elgg-75b31ddfaed2c183ec3ccf903c468d2d7f485e20.tar.bz2 |
Fixes #4068 not forcing update on adds when the subtype exists Refs #4058
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 711fcbbd7..fd2b0e9f9 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -306,8 +306,6 @@ function add_subtype($type, $subtype, $class = "") { if ($id == 0) { return insert_data("insert into {$CONFIG->dbprefix}entity_subtypes" . " (type, subtype, class) values ('$type','$subtype','$class')"); - } else { - update_subtype($type, $subtype, $class); } return $id; |