Code Duplication    Length = 8-8 lines in 2 locations

application/modules/auth/auth.php 1 location

@@ 92-99 (lines=8) @@
89
        //         return $result;
90
    }
91
92
    public function recaptcha_check() {
93
        $result = $this->dx_auth->is_recaptcha_match();
94
        if (!$result) {
95
            $this->form_validation->set_message('recaptcha_check', lang('Improper protection code'));
96
        }
97
98
        return $result;
99
    }
100
101
    /* End of Callback functions */
102

application/modules/feedback/feedback.php 1 location

@@ 56-63 (lines=8) @@
53
        }
54
    }
55
56
    public function recaptcha_check() {
57
        $result = $this->dx_auth->is_recaptcha_match();
58
        if (!$result) {
59
            $this->form_validation->set_message('recaptcha_check', lang('Improper protection code', 'feedback'));
60
        }
61
62
        return $result;
63
    }
64
65
    // Index function
66