]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Event cache clearing bug
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 12:23:44 +0000 (14:23 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 12:23:44 +0000 (14:23 +0200)
plugins/Event/classes/RSVP.php

index 7ca29b280eeb5235578c266ac69c4ff8c23f6ad3..31ccf439ef9ac0812b4123ffa6d9208ddd4003f5 100644 (file)
@@ -401,7 +401,7 @@ class RSVP extends Managed_DataObject
 
     function delete($useWhere=false)
     {
-        self::blow('rsvp:for-event:%s', $event->id);
+        self::blow('rsvp:for-event:%s', $this->id);
         return parent::delete($useWhere);
     }
 }