added curly braces/spaces + replace spaces with tabs to fix code indending (or so?)
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
@@ -153,8 +153,7 @@ function send_message($recipient=0, $body='', $subject='', $replyto=''){
|
|||||||
if ($post_id) {
|
if ($post_id) {
|
||||||
proc_run(PRIORITY_HIGH, "include/notifier.php", "mail", $post_id);
|
proc_run(PRIORITY_HIGH, "include/notifier.php", "mail", $post_id);
|
||||||
return intval($post_id);
|
return intval($post_id);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -538,8 +538,7 @@ function check_htaccess(&$checks) {
|
|||||||
$help = t('Url rewrite in .htaccess is not working. Check your server configuration.');
|
$help = t('Url rewrite in .htaccess is not working. Check your server configuration.');
|
||||||
}
|
}
|
||||||
check_add($checks, t('Url rewrite is working'), $status, true, $help);
|
check_add($checks, t('Url rewrite is working'), $status, true, $help);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// cannot check modrewrite if libcurl is not installed
|
// cannot check modrewrite if libcurl is not installed
|
||||||
/// @TODO Maybe issue warning here?
|
/// @TODO Maybe issue warning here?
|
||||||
}
|
}
|
||||||
@@ -582,7 +581,6 @@ function load_database_rem($v, $i){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function load_database($db) {
|
function load_database($db) {
|
||||||
|
|
||||||
require_once("include/dbstructure.php");
|
require_once("include/dbstructure.php");
|
||||||
|
|||||||
Reference in New Issue
Block a user