GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 15-15 lines in 2 locations

includes/class-xcloner-scheduler.php 2 locations

@@ 178-192 (lines=15) @@
175
		return $update;		
176
	}
177
	
178
	public function update_hash($schedule_id, $hash)
179
	{
180
		$schedule['hash'] = $hash;
181
		
182
		$update = $this->db->update( 
183
				$this->scheduler_table, 
184
				$schedule, 
185
				array( 'id' => $schedule_id ), 
186
				array( 
187
					'%s', 
188
					'%s' 
189
				) 
190
				);
191
		return $update;		
192
	} 
193
	
194
	public function update_last_backup($schedule_id, $last_backup)
195
	{
@@ 194-208 (lines=15) @@
191
		return $update;		
192
	} 
193
	
194
	public function update_last_backup($schedule_id, $last_backup)
195
	{
196
		$schedule['last_backup'] = $last_backup;
197
		
198
		$update = $this->db->update( 
199
				$this->scheduler_table, 
200
				$schedule, 
201
				array( 'id' => $schedule_id ), 
202
				array( 
203
					'%s', 
204
					'%s' 
205
				) 
206
				);
207
		return $update;		
208
	} 
209
	
210
	private function __xcloner_scheduler_callback($id, $schedule)
211
	{