modules/backup_key.php 1 location
|
@@ 280-288 (lines=9) @@
|
| 277 |
|
* @param integer $user_id |
| 278 |
|
* @return array |
| 279 |
|
*/ |
| 280 |
|
private function getRegistrations($user_id) |
| 281 |
|
{ |
| 282 |
|
$sql = 'SELECT * FROM ' . $this->backup_registration_table . ' WHERE user_id = ' . (int) $user_id; |
| 283 |
|
$result = $this->db->sql_query($sql); |
| 284 |
|
$rows = $this->db->sql_fetchrowset($result); |
| 285 |
|
|
| 286 |
|
$this->db->sql_freeresult($result); |
| 287 |
|
return $rows; |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
|
modules/otp.php 1 location
|
@@ 282-290 (lines=9) @@
|
| 279 |
|
* @param integer $user_id |
| 280 |
|
* @return array |
| 281 |
|
*/ |
| 282 |
|
private function getRegistrations($user_id) |
| 283 |
|
{ |
| 284 |
|
$sql = 'SELECT * FROM ' . $this->otp_registration_table . ' WHERE user_id = ' . (int) $user_id; |
| 285 |
|
$result = $this->db->sql_query($sql); |
| 286 |
|
$rows = $this->db->sql_fetchrowset($result); |
| 287 |
|
|
| 288 |
|
$this->db->sql_freeresult($result); |
| 289 |
|
return $rows; |
| 290 |
|
} |
| 291 |
|
} |
| 292 |
|
|