diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-04 20:59:06 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-02-09 08:14:23 -0500 |
commit | 269d3621531a80b13221a2f6e663efe2ad20ccaa (patch) | |
tree | 68f69ccace8be00d579d96f02d77c93f196e53a0 /engine/lib/relationships.php | |
parent | 78e0ec583619cbb728cbe03df857c8219acaac7e (diff) | |
download | elgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.gz elgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.bz2 |
remove unused code: vars, foreach keys, etc
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r-- | engine/lib/relationships.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 6f18bda93..c1a7cc080 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -589,8 +589,6 @@ function import_relationship_plugin_hook($hook, $entity_type, $returnvalue, $par * @access private */ function export_relationship_plugin_hook($hook, $entity_type, $returnvalue, $params) { - global $CONFIG; - // Sanity check values if ((!is_array($params)) && (!isset($params['guid']))) { throw new InvalidParameterException(elgg_echo('InvalidParameterException:GUIDNotForExport')); @@ -626,7 +624,6 @@ function export_relationship_plugin_hook($hook, $entity_type, $returnvalue, $par function relationship_notification_hook($event, $type, $object) { /* @var ElggRelationship $object */ $user_one = get_entity($object->guid_one); - $user_two = get_entity($object->guid_two); /* @var ElggUser $user_one */ return notify_user($object->guid_two, |