summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-18 12:02:03 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-18 12:02:03 +0200
commit329d804032db1691ea539e77b12fa7bb52387440 (patch)
tree7f5d143a497c39d43e255688badef55ecca4f0b7
parenta1ff99126a3eacf4570376e1363c3259e1f2d990 (diff)
downloadnextcloud-server-329d804032db1691ea539e77b12fa7bb52387440.tar.gz
nextcloud-server-329d804032db1691ea539e77b12fa7bb52387440.zip
Hotfix: deleting users is working again
-rw-r--r--lib/User/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/User/database.php b/lib/User/database.php
index 1a4ddf44c4e..3abaf9e1f41 100644
--- a/lib/User/database.php
+++ b/lib/User/database.php
@@ -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;
}