librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1349] properly delete group memberships on profile de


From: Clint Adams
Subject: [Librefm-commits] [1349] properly delete group memberships on profile deletion
Date: Fri, 08 May 2009 03:03:21 +0000

Revision: 1349
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1349
Author:   clint
Date:     2009-05-08 03:03:21 +0000 (Fri, 08 May 2009)
Log Message:
-----------
properly delete group memberships on profile deletion

Modified Paths:
--------------
    trunk/nixtape/delete-profile.php

Modified: trunk/nixtape/delete-profile.php
===================================================================
--- trunk/nixtape/delete-profile.php    2009-05-08 02:28:54 UTC (rev 1348)
+++ trunk/nixtape/delete-profile.php    2009-05-08 03:03:21 UTC (rev 1349)
@@ -42,7 +42,7 @@
                $mdb2->exec("DELETE FROM Scrobble_Sessions WHERE username = 
".$mdb2->quote($username, 'text'));
                $mdb2->exec("DELETE FROM Delete_Request WHERE username = 
".$mdb2->quote($username, 'text'));
                $mdb2->exec("DELETE FROM Auth WHERE username = 
".$mdb2->quote($username, 'text'));
-               $mdb2->exec("DELETE FROM Group_Members WHERE member = 
".$mdb2->quote($username, 'text'));
+               $mdb2->exec("DELETE FROM Group_Members WHERE member = 
".$mdb2->quote($this_user->uniqueid, 'integer'));
                $mdb2->exec("DELETE FROM Radio_Sessions WHERE username = 
".$mdb2->quote($username, 'text'));
                $mdb2->exec("DELETE FROM Recovery_Request WHERE username = 
".$mdb2->quote($username, 'text'));
                $mdb2->exec("DELETE FROM Scrobbles WHERE username = 
".$mdb2->quote($username, 'text'));





reply via email to

[Prev in Thread] Current Thread [Next in Thread]