diff options
| author | Steve Clay <steve@mrclay.org> | 2013-02-04 20:51:07 -0500 |
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2013-02-09 07:53:45 -0500 |
| commit | 707df9db27cf2154910978427b9844448bcf931a (patch) | |
| tree | 6ca8ba536758fe2f34ac6a55a18b7befa76bc74c /engine/lib/relationships.php | |
| parent | 85e4c16f39a8b00b229644bcd175663541dfd51a (diff) | |
| download | elgg-707df9db27cf2154910978427b9844448bcf931a.tar.gz elgg-707df9db27cf2154910978427b9844448bcf931a.tar.bz2 | |
Small changes to remove static analysis noise and simplify flow
Diffstat (limited to 'engine/lib/relationships.php')
| -rw-r--r-- | engine/lib/relationships.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 74954b4ff..6f18bda93 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -571,9 +571,8 @@ function import_relationship_plugin_hook($hook, $entity_type, $returnvalue, $par if ($element instanceof ODDRelationship) { $tmp = new ElggRelationship(); $tmp->import($element); - - return $tmp; } + return $tmp; } /** |
