Revert "Coding convention applied - part 1"

This commit is contained in:
Hypolite Petovan 2017-03-21 12:02:59 -04:00 committed by GitHub
parent 9c2c483996
commit 7b352f3f74
181 changed files with 3507 additions and 4338 deletions

View file

@ -158,7 +158,7 @@ function nodeinfo_cron() {
$plugins = get_config("system","addon");
$plugins_arr = array();
if ($plugins) {
if($plugins) {
$plugins_arr = explode(",",str_replace(" ", "",$plugins));
$idx = array_search($plugin, $plugins_arr);
@ -175,10 +175,10 @@ function nodeinfo_cron() {
$last = get_config('nodeinfo','last_calucation');
if ($last) {
if($last) {
// Calculate every 24 hours
$next = $last + (24 * 60 * 60);
if ($next > time()) {
if($next > time()) {
logger("calculation intervall not reached");
return;
}