Code Duplication    Length = 7-7 lines in 2 locations

dashboard/application/models/computing-support/Private_drive_model.php 1 location

@@ 48-54 (lines=7) @@
45
        return $query->result_array();
46
    }
47
    
48
    public function get_email_username($username) {        
49
        
50
        $this->db->select('email');
51
        $this->db->from('users_ad');
52
        $this->db->where('username', $username);
53
        return $this->db->get()->row('email');
54
    }
55
    
56
    public function get_request($id) {
57
        $this->db->where('id', $id);

dashboard/application/models/computing-support/Room_move_model.php 1 location

@@ 116-122 (lines=7) @@
113
        return $query->result_array();
114
    }
115
    
116
    public function get_email_username($username) {        
117
        
118
        $this->db->select('email');
119
        $this->db->from('users_ad');
120
        $this->db->where('username', $username);
121
        return $this->db->get()->row('email');
122
    }
123
    
124
    public function get_request($id) {
125
        $this->db->where('id', $id);