]> git.mxchange.org Git - friendica.git/commitdiff
added curly braces/spaces + replace spaces with tabs to fix code indending (or so?)
authorRoland Haeder <roland@mxchange.org>
Wed, 21 Dec 2016 22:04:09 +0000 (23:04 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 23 Dec 2016 18:51:11 +0000 (19:51 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/message.php
mod/install.php

index 5bd611f22082dab60d9ad43a21c9076c57c10524..3d5d4d33ab97daaafe07576260ecc7a77c7dfcab 100644 (file)
@@ -153,8 +153,7 @@ function send_message($recipient=0, $body='', $subject='', $replyto=''){
        if ($post_id) {
                proc_run(PRIORITY_HIGH, "include/notifier.php", "mail", $post_id);
                return intval($post_id);
-       }
-       else {
+       } else {
                return -3;
        }
 
index f7329592e07ed417605d155a6c368dbb78ce6f80..382fcefd76a7564401fc16d3011fd10b0c9c9fa2 100755 (executable)
@@ -538,8 +538,7 @@ 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?
        }
@@ -582,7 +581,6 @@ function load_database_rem($v, $i){
        }
 }
 
-
 function load_database($db) {
 
        require_once("include/dbstructure.php");