ftimme
2013-05-23 e5b858964ff41ddd48c315d0463c3d918b6eb5a8
server/plugins-available/mysql_clientdb_plugin.inc.php
@@ -503,6 +503,8 @@
        $host_list = array('localhost');
        // get all databases this user was active for
        $db_list = $app->db->queryAllRecords("SELECT `remote_access`, `remote_ips` FROM `web_database` WHERE `database_user_id` = '" . intval($data['old']['database_user_id']) . "'");
        if(count($db_list) < 1) return; // nothing to do on this server for this db user
        foreach($db_list as $database) {
            if($database['remote_access'] != 'y') continue;