modules/backup_key.php 1 location
|
@@ 279-286 (lines=8) @@
|
| 276 |
|
* |
| 277 |
|
* @return void |
| 278 |
|
*/ |
| 279 |
|
public function delete($key) |
| 280 |
|
{ |
| 281 |
|
$sql = 'DELETE FROM ' . $this->backup_registration_table . ' |
| 282 |
|
WHERE user_id = ' . (int) $this->user->data['user_id'] . ' |
| 283 |
|
AND registration_id =' . (int) $key; |
| 284 |
|
|
| 285 |
|
$this->db->sql_query($sql); |
| 286 |
|
} |
| 287 |
|
|
| 288 |
|
/** |
| 289 |
|
* Select all registration objects from the database |
modules/otp.php 1 location
|
@@ 280-287 (lines=8) @@
|
| 277 |
|
* |
| 278 |
|
* @return void |
| 279 |
|
*/ |
| 280 |
|
public function delete($key) |
| 281 |
|
{ |
| 282 |
|
$sql = 'DELETE FROM ' . $this->otp_registration_table . ' |
| 283 |
|
WHERE user_id = ' . (int) $this->user->data['user_id'] . ' |
| 284 |
|
AND registration_id =' . (int) $key; |
| 285 |
|
|
| 286 |
|
$this->db->sql_query($sql); |
| 287 |
|
} |
| 288 |
|
|
| 289 |
|
/** |
| 290 |
|
* Select all registration objects from the database |
modules/u2f.php 1 location
|
@@ 374-381 (lines=8) @@
|
| 371 |
|
* @param int $key |
| 372 |
|
* @return void |
| 373 |
|
*/ |
| 374 |
|
public function delete($key) |
| 375 |
|
{ |
| 376 |
|
$sql = 'DELETE FROM ' . $this->registration_table . ' |
| 377 |
|
WHERE user_id = ' . (int) $this->user->data['user_id'] . ' |
| 378 |
|
AND registration_id =' . (int) $key; |
| 379 |
|
|
| 380 |
|
$this->db->sql_query($sql); |
| 381 |
|
} |
| 382 |
|
|
| 383 |
|
/** |
| 384 |
|
* If this module can add new keys (Or other things) |