From 3f5948d2d782d7cc7a13f88d58976ff26b3c0cc4 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 3 Jul 2010 18:40:48 +0000 Subject: Closes #2121 - removed view from pre-1.5 days git-svn-id: http://code.elgg.org/elgg/trunk@6628 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/river/relationship/friend/create.php | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 views/default/river/relationship/friend/create.php (limited to 'views/default/river/relationship/friend') diff --git a/views/default/river/relationship/friend/create.php b/views/default/river/relationship/friend/create.php deleted file mode 100644 index f42bf30c6..000000000 --- a/views/default/river/relationship/friend/create.php +++ /dev/null @@ -1,40 +0,0 @@ -getSubject(); -$event = $statement->getEvent(); -$object = $statement->getObject(); - -if (is_array($object)) { - switch ($object['relationship']) { - // Friending - case 'friend' : - case 'friends' : // 'friends' shouldn't be used, but just incase :) - - // Get second object - $userb = $object['object']; - - // Only users can be friends - if (($performed_by instanceof ElggUser) && ($userb instanceof ElggUser)) { - // User A - echo "getURL()}\">{$performed_by->name} "; - - // Verb - echo elgg_echo('river:relationship:friend'); - - // user B - echo " getURL()}\">{$userb->name}"; - } - - break; - } -} \ No newline at end of file -- cgit v1.2.3