// Shall we remove this update?
if (in_array($ext_name, getExtensionRemovalList())) {
// Then remove this extension!
- removeExtensionUpdateDependency($ext_name);
+ removeExtensionDependency($ext_name);
} // END - if
} // END - foreach
} // END - if
$callback = '';
$extraFunction = '';
$extraFunction2 = '';
- $value = '';
+ $value = null;
// Extract command and call-back
$cmdArray = explode(',', $cmd);
$code = call_user_func($commandFunction, $data);
} else {
// Unsupported command detected
- logDebugMessage(__FUNCTION__, __LINE__, 'Command=' . $cmd . ', callback=' . $callback . ', extra=' . $extraFunction . ' is unsupported.');
+ logDebugMessage(__FUNCTION__, __LINE__, 'Command cmd=' . $cmd . ', callback=' . $callback . ', extra=' . $extraFunction . ' is unsupported.');
}
} // END - foreach
} // END - if
setConfigEntry('CURRENT_DATE', generateDateTime(time(), '3'));
// Timestamp for yesterday, today ... all at 00:00 am
- setConfigEntry('START_YDAY', makeTime(0, 0, 0, time() - getConfig('ONE_DAY')));
+ setConfigEntry('START_YDAY', makeTime(0, 0, 0, time() - getOneDay()));
setConfigEntry('START_TDAY', makeTime(0, 0, 0, time()));
}