Completed
Push — master ( 34b4a4...c857d5 )
by Paul
07:02 queued 04:21
created
modules/abstract_module.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
 	protected function show_ucp_complete($table)
38 38
 	{
39 39
 		$sql = 'SELECT *
40
-			FROM ' . $table . '
41
-			WHERE user_id = ' . (int) $this->user->data['user_id'] . '
40
+			FROM ' . $table.'
41
+			WHERE user_id = ' . (int) $this->user->data['user_id'].'
42 42
 			ORDER BY registration_id ASC';
43 43
 
44 44
 		$result = $this->db->sql_query($sql);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 	protected function check_table_for_user($table, $user_id)
68 68
 	{
69 69
 		$sql = 'SELECT COUNT(registration_id) as reg_id 
70
-					FROM ' . $table . ' 
70
+					FROM ' . $table.' 
71 71
 					WHERE 
72 72
 						user_id = ' . (int) $user_id;
73 73
 		$result = $this->db->sql_query($sql);
Please login to merge, or discard this patch.
migrations/initial_otp_schema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 	{
17 17
 		return array(
18 18
 			'add_tables'	=> array(
19
-				$this->table_prefix . 'tfa_otp_reg'	=> array(
19
+				$this->table_prefix.'tfa_otp_reg'	=> array(
20 20
 					'COLUMNS'	=> array(
21 21
 						'registration_id'		=> array('UINT', null, 'auto_increment'),
22 22
 						'user_id'				=> array('UINT', 0),
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	{
38 38
 		return array(
39 39
 			'drop_tables'	=> array(
40
-				$this->table_prefix . 'tfa_otp_registration',
40
+				$this->table_prefix.'tfa_otp_registration',
41 41
 			),
42 42
 		);
43 43
 	}
Please login to merge, or discard this patch.