]> git.mxchange.org Git - friendica.git/commitdiff
Continued with coding convention:
authorRoland Haeder <roland@mxchange.org>
Tue, 20 Dec 2016 20:15:53 +0000 (21:15 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 23 Dec 2016 18:51:06 +0000 (19:51 +0100)
- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- rewrote a code block so if dbm::is_result() fails it will abort, else the id
  is fetched from INSERT statement
- made some SQL keywords upper-cased and added back-ticks to columns/table names

Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/install.php

index 9adeac604e56ce57da290b6bc7431dbf4890cd76..f7329592e07ed417605d155a6c368dbb78ce6f80 100755 (executable)
@@ -538,7 +538,8 @@ function check_htaccess(&$checks) {
                        $help = t('Url rewrite in .htaccess is not working. Check your server configuration.');
                }
                check_add($checks, t('Url rewrite is working'), $status, true, $help);
-       } else {
+       }
+       else {
                // cannot check modrewrite if libcurl is not installed
                /// @TODO Maybe issue warning here?
        }