From: Neil S. <sir...@us...> - 2004-05-07 16:42:25
|
CVSROOT : /cvsroot/publicdnsadmin Module : publicdnsadmin Commit time: 2004-05-07 16:42:18 UTC Modified files: delete_user.php docs/CHANGELOG Log message: Author: SiRVulcaN <vu...@li...> Log message: Fixed a bug.. see CHANGELOG. ---------------------- diff included ---------------------- Index: publicdnsadmin/delete_user.php diff -u publicdnsadmin/delete_user.php:1.2 publicdnsadmin/delete_user.php:1.3 --- publicdnsadmin/delete_user.php:1.2 Wed Aug 13 05:14:13 2003 +++ publicdnsadmin/delete_user.php Fri May 7 09:42:08 2004 @@ -45,7 +45,7 @@ $dbh->query("DELETE FROM domain_owners WHERE domain_id = 'checkdomain'"); $dbh->query("DELETE FROM records WHERE domain_id = '$checkdomain'"); } else { - $dbh->query("DELETE FROM domain_owners WHERE domain_id = '$checkdomain'"); + $dbh->query("DELETE FROM domain_owners WHERE domain_id = '$checkdomain' AND user_id = '$id'"); } } } Index: publicdnsadmin/docs/CHANGELOG diff -u publicdnsadmin/docs/CHANGELOG:1.39 publicdnsadmin/docs/CHANGELOG:1.40 --- publicdnsadmin/docs/CHANGELOG:1.39 Fri Apr 23 01:53:28 2004 +++ publicdnsadmin/docs/CHANGELOG Fri May 7 09:42:08 2004 @@ -1,4 +1,8 @@ $Id: +SiRVulcaN <vu...@li...> - 08/05/2004 - Fixed a bug in delete_user.php that OUTsider found. When a user + who owned a domain was delete all other users who have access to + the domain lost their access. + OUTsider <out...@ke...> - 23/04/2004 - Fixed an issue in language handler, we shall use english by default if no session is set. ----------------------- End of diff ----------------------- |