mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Revert "Coding convention applied - part 1"
This commit is contained in:
parent
9c2c483996
commit
7b352f3f74
181 changed files with 3507 additions and 4338 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue