Index: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm (revision 14078)
+++ trunk/cgi-bin/LJ/User.pm (revision 14081)
@@ -2650,5 +2650,5 @@
     # old $u caps vs the new we say we'll be adding
     if (LJ::are_hooks('add_to_class')) {
-        LJ::run_hook('add_to_class', $u, $class);
+        LJ::run_hooks('add_to_class', $u, $class);
     }
 
@@ -2665,5 +2665,5 @@
     # old $u caps vs what we'll be removing
     if (LJ::are_hooks('remove_from_class')) {
-        LJ::run_hook('remove_from_class', $u, $class);
+        LJ::run_hooks('remove_from_class', $u, $class);
     }
 
@@ -6894,9 +6894,9 @@
         LJ::memcache_kill($fid, 'friendofs2');
 
+        my $friendee = LJ::load_userid($fid);
         if ($sclient) {
             my @jobs;
 
             # only fire event if the friender is a person and not banned and visible
-            my $friendee = LJ::load_userid($fid);
             if ($notify && !$friendee->has_banned($u)) {
                 push @jobs, LJ::Event::Defriended->new($friendee, $u)->fire_job;
@@ -6907,7 +6907,8 @@
                                               arg      => [$userid, 'del', $fid],
                                               ) unless $LJ::DISABLED{'friendchange-schwartz'};
-
+ 
             $sclient->insert_jobs(@jobs);
         }
+        LJ::run_hooks('defriended', $u, $friendee);
     }
     LJ::memcache_kill($userid, 'friends');
