Hotfix: deleting users is working again

This commit is contained in:
Jakob Sack 2011-04-18 12:02:03 +02:00
parent a1ff99126a
commit 329d804032

View file

@ -75,7 +75,7 @@ class OC_USER_DATABASE extends OC_USER_BACKEND {
*/
public static function deleteUser( $uid ){
// Delete user-group-relation
$query = OC_DB::prepare( "DELETE FROM `*PREFIX*group_user` WHERE uid = ?" );
$query = OC_DB::prepare( "DELETE FROM `*PREFIX*users` WHERE uid = ?" );
$result = $query->execute( array( $uid ));
return true;
}