Code Duplication    Length = 10-11 lines in 2 locations

dashboard/application/models/computing-support/Private_drive_model.php 2 locations

@@ 82-91 (lines=10) @@
79
        return $this->db->update('private_drive', $data);
80
    }
81
    
82
    public function fh_reject($id) {
83
            
84
        $this->db->where('id', $id);
85
	$this->db->from('private_drive');
86
        $data = array(
87
            'status' => '3',
88
            'approved_at' => date("Y-m-d H:i:s", time()),
89
        );
90
        return $this->db->update('private_drive', $data);
91
    }
92
    
93
    public function fh_approve($id) {
94
            
@@ 93-103 (lines=11) @@
90
        return $this->db->update('private_drive', $data);
91
    }
92
    
93
    public function fh_approve($id) {
94
            
95
        $this->db->where('id', $id);
96
	$this->db->from('private_drive');
97
        $data = array(
98
            'status' => '1',
99
            'approved_at' => date("Y-m-d H:i:s", time()),
100
        );
101
        
102
        return $this->db->update('private_drive', $data);
103
    }
104
    
105
    public function cs_reject($id) {
106