Code Duplication    Length = 8-8 lines in 2 locations

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

application/modules/auth/auth.php 1 location

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