Completed
Pull Request — master (#3991)
by Craig
05:36
created
lib/Zikula/Bundle/CoreInstallerBundle/Controller/AjaxInstallController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
         $variableApi->getAll(VariableApi::CONFIG); // forces initialization of API
221 221
         $variableApi->set(VariableApi::CONFIG, 'language_i18n', $params['locale']);
222 222
         // Set the System Identifier as a unique string.
223
-        $variableApi->set(VariableApi::CONFIG, 'system_identifier', str_replace('.', '', uniqid((string) (random_int(1000000000, 9999999999)), true)));
223
+        $variableApi->set(VariableApi::CONFIG, 'system_identifier', str_replace('.', '', uniqid((string)(random_int(1000000000, 9999999999)), true)));
224 224
         // add admin email as site email
225 225
         $variableApi->set(VariableApi::CONFIG, 'adminmail', $params['email']);
226 226
         // regenerate the theme list
Please login to merge, or discard this patch.
lib/Zikula/Bundle/CoreInstallerBundle/Controller/AjaxUpgradeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
         $kernel = $this->container->get('kernel');
232 232
         // Set the System Identifier as a unique string.
233 233
         if (!$variableApi->get(VariableApi::CONFIG, 'system_identifier')) {
234
-            $variableApi->set(VariableApi::CONFIG, 'system_identifier', str_replace('.', '', uniqid((string) (random_int(1000000000, 9999999999)), true)));
234
+            $variableApi->set(VariableApi::CONFIG, 'system_identifier', str_replace('.', '', uniqid((string)(random_int(1000000000, 9999999999)), true)));
235 235
         }
236 236
 
237 237
         // add new configuration parameters
Please login to merge, or discard this patch.
src/system/SecurityCenterModule/SecurityCenterModuleInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         $this->setSystemVar('sessionauthkeyua', 0);
52 52
         $this->setSystemVar('secure_domain');
53 53
         $this->setSystemVar('signcookies', 1);
54
-        $this->setSystemVar('signingkey', sha1((string) (random_int(0, time()))));
54
+        $this->setSystemVar('signingkey', sha1((string)(random_int(0, time()))));
55 55
         $this->setSystemVar('seclevel', 'Medium');
56 56
         $this->setSystemVar('secmeddays', 7);
57 57
         $this->setSystemVar('secinactivemins', 20);
Please login to merge, or discard this patch.