roundcubemail/plugins/redundant_attachments/redundant_attachments.php
private function _key($args)
    {
        $uname = $args['path'] ?: $args['name'];
        return $args['group'] . md5(time() . $uname . $_SESSION['user_id']);
    }
private function _key($args)
    {
        $uname = $args['path'] ?: $args['name'];
        return $args['group'] . md5(time() . $uname . $_SESSION['user_id']);
    }
private function _key ( $ args ) { $ uname = $ args [ 'path' ] ? : $ args [ 'name' ] ; return $ args [ 'group' ] . md5 ( time ( ) . $ uname . $ _SESSION [ 'user_id' ] ) ; }
Helper method to generate a unique key for the given attachment file
Helper method to generate a unique key for the given attachment file