diff options
author | cash <cash.costello@gmail.com> | 2013-01-25 15:48:54 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-01-25 15:48:54 -0500 |
commit | 28b0a852a9ba65998d875d7ec5579a30ffedffc4 (patch) | |
tree | dab2f6d8bd255aa118ccb128353374038c46752b /engine | |
parent | b60f6e6b921c2d25867c23790130be9a0386c0a4 (diff) | |
download | elgg-28b0a852a9ba65998d875d7ec5579a30ffedffc4.tar.gz elgg-28b0a852a9ba65998d875d7ec5579a30ffedffc4.tar.bz2 |
Fixes #4992 - saving temporary private settings works now
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/private_settings.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engine/lib/private_settings.php b/engine/lib/private_settings.php index 1fa9bdb66..7541f7b3b 100644 --- a/engine/lib/private_settings.php +++ b/engine/lib/private_settings.php @@ -349,11 +349,6 @@ function set_private_setting($entity_guid, $name, $value) { $name = sanitise_string($name); $value = sanitise_string($value); - $entity = get_entity($entity_guid); - if (!$entity instanceof ElggEntity) { - return false; - } - $result = insert_data("INSERT into {$CONFIG->dbprefix}private_settings (entity_guid, name, value) VALUES ($entity_guid, '$name', '$value') |