anahitasocial/anahita — pull request #27 by kulbakin (2013-10-20 06:07:12+00:00)
Title: fix: delete cascading defined by relationships

The bug is caused by the usage of the same variable name as function
input parameter and later as cycle variable, the latter replaces
original input parameter making remaining function code potentially
produce an error (even fatal error)