<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -48,14 +48,14 @@ class User &lt; ActiveRecord::Base
   def stale_logout!
     transaction do
       update_attribute(:logged_in, false)
-      user_rooms.leave_rooms(user, &quot;stale_logout&quot;)
+      leave_all_rooms!(user, &quot;stale_logout&quot;)
     end
   end
 
   def logout!
     transaction do
       update_attribute(:logged_in, false)
-      user_rooms.leave_rooms(user, &quot;logout&quot;)
+      leave_all_rooms!(user, &quot;logout&quot;)
     end
   end
 </diff>
      <filename>app/models/user.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>41e675cc7246b6c59afa5b276df66e80d5e3e594</id>
    </parent>
  </parents>
  <author>
    <name>Brandon Arbini</name>
    <email>brandon@sevenwire.com</email>
  </author>
  <url>http://github.com/sevenwire/flak/commit/dd79cdd2527e15b342a940bb0fa90a32e826243c</url>
  <id>dd79cdd2527e15b342a940bb0fa90a32e826243c</id>
  <committed-date>2009-11-09T16:00:29-08:00</committed-date>
  <authored-date>2009-11-09T16:00:29-08:00</authored-date>
  <message>Fixing logout and stale_logout to call the new methods on user.</message>
  <tree>6515a09c27146e0bac305f19301bf2e498bcf534</tree>
  <committer>
    <name>Brandon Arbini</name>
    <email>brandon@sevenwire.com</email>
  </committer>
</commit>
