Completed
Push — master ( cc7bc1...e7eec3 )
by Paul
03:46
created
ucp/tfa_module.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -108,18 +108,15 @@  discard block
 block discarded – undo
108 108
 				if ($module->can_register())
109 109
 				{
110 110
 					$this->tpl_name = $module->register_start();
111
-				}
112
-				else
111
+				} else
113 112
 				{
114 113
 					$error[] = 'TFA_MODULE_NO_REGISTER';
115 114
 				}
116
-			}
117
-			else
115
+			} else
118 116
 			{
119 117
 				$error[] = $this->user->lang('TFA_MODULE_NOT_FOUND', $class);
120 118
 			}
121
-		}
122
-		catch (\Exception $e)
119
+		} catch (\Exception $e)
123 120
 		{
124 121
 			$error[] = $e->getMessage();
125 122
 		}
@@ -151,8 +148,7 @@  discard block
 block discarded – undo
151 148
 					if (!check_form_key('ucp_tfa_keys'))
152 149
 					{
153 150
 						$error[] = 'FORM_INVALID';
154
-					}
155
-					else
151
+					} else
156 152
 					{
157 153
 						if ($this->request->variable('md', false, false, \phpbb\request\request_interface::POST))
158 154
 						{
Please login to merge, or discard this patch.