Completed
Push — develop ( 0abb5c...f6ad79 )
by Daniel
12:48
created
services/filemanager/settings.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
 		if (!$this->filesystem->exists($config_file))
54 54
 		{
55 55
 			$this->filesystem->copy($this->config_template, $config_file, true);
56
-		}
57
-		else if ($retry && file($config_file)[1] !== '// Auto-generated configuration file for phpBB sitemaker')
56
+		} else if ($retry && file($config_file)[1] !== '// Auto-generated configuration file for phpBB sitemaker')
58 57
 		{
59 58
 			$this->filesystem->remove($config_file);
60 59
 			return $this->get_settings(false);
Please login to merge, or discard this patch.
acp/menu_module.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 			'MENU_ID'		=> $menu_id,
98 98
 			'ICON_PICKER'	=> $this->icon->picker(),
99 99
 			'T_PATH'		=> $this->phpbb_root_path,
100
-			'UA_AJAX_URL'   => $this->controller_helper->route('blitze_sitemaker_menus_admin', array(), true, '') . '/',
100
+			'UA_AJAX_URL'   => $this->controller_helper->route('blitze_sitemaker_menus_admin', array(), true, '').'/',
101 101
 		));
102 102
 
103 103
 		$this->tpl_name = 'acp_menu';
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 		$vars = array('bulk_options', 'forumslist');
152 152
 		extract($this->phpbb_dispatcher->trigger_event('blitze.sitemaker.acp_add_bulk_menu_options', compact($vars)));
153 153
 
154
-		$bulk_options['FORUMS']	= $this->get_forums_string($forumslist);
154
+		$bulk_options['FORUMS'] = $this->get_forums_string($forumslist);
155 155
 
156 156
 		$this->template->assign_var('bulk_options', $bulk_options);
157 157
 	}
@@ -163,11 +163,11 @@  discard block
 block discarded – undo
163 163
 	protected function get_forums_string(array $forumslist)
164 164
 	{
165 165
 		$forum_url = $this->controller_helper->route('blitze_sitemaker_forum', array(), true, '', UrlGeneratorInterface::RELATIVE_PATH);
166
-		$text = $this->language->lang('FORUM') . '|' . $forum_url . "\n";
166
+		$text = $this->language->lang('FORUM').'|'.$forum_url."\n";
167 167
 		foreach ($forumslist as $forum_id => $row)
168 168
 		{
169
-			$text .= "\t" . str_replace('   ', "\t", $row['padding']);
170
-			$text .= $row['forum_name'] . '|';
169
+			$text .= "\t".str_replace('   ', "\t", $row['padding']);
170
+			$text .= $row['forum_name'].'|';
171 171
 			$text .= "viewforum.{$this->php_ext}?f=$forum_id\n";
172 172
 		}
173 173
 
Please login to merge, or discard this patch.