Author: sevein
Date: Wed Sep 30 10:38:19 2009
New Revision: 3610

Log:
Removes qubit relations by subjec or object id. Fixes issue 987.

Modified:
   trunk/apps/qubit/modules/actor/actions/deleteAction.class.php

Modified: trunk/apps/qubit/modules/actor/actions/deleteAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/actor/actions/deleteAction.class.php       Wed Sep 
30 07:43:04 2009        (r3609)
+++ trunk/apps/qubit/modules/actor/actions/deleteAction.class.php       Wed Sep 
30 10:38:19 2009        (r3610)
@@ -46,7 +46,7 @@
         }
       }
 
-      foreach (QubitRelation::getRelationsBySubjectId($this->actor->id) as 
$relation)
+      foreach 
(QubitRelation::getRelationsBySubjectOrObjectId($this->actor->id) as $relation)
       {
         $relation->delete();
       }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to