Code Duplication    Length = 7-12 lines in 2 locations

app/models/BaseModel.php 1 location

@@ 143-154 (lines=12) @@
140
	 * @param	int		ID/s of record
141
	 * @return	boolean
142
	 */
143
	public function delete($ids)
144
	{
145
		$data = [
146
			'deleted' => '1',
147
		];
148
149
		$result = $this->getDatabase()
150
			->table($this->getTable())
151
			->where('id', $ids)
152
			->update($data);
153
154
		return $result;
155
	}
156
157
	/**

app/models/MeetingModel.php 1 location

@@ 176-182 (lines=7) @@
173
	 * @param	int		ID/s of record
174
	 * @return	boolean
175
	 */
176
	public function delete($ids)
177
	{
178
		$data = array('deleted' => '1');
179
		$result = $this->getDatabase()->table($this->getTable())->where('id', $ids)->update($data);
180
181
		return $result;
182
	}
183
184
	/**
185
	 * Return meeting data