*/
use Friendica\Core\Config;
+use Friendica\Core\PConfig;
/**
* @brief Two-level sort for timezones.
function dob($dob) {
list($year,$month,$day) = sscanf($dob,'%4d-%2d-%2d');
- $f = get_config('system', 'birthday_input_format');
+ $f = Config::get('system', 'birthday_input_format');
if (! $f) {
$f = 'ymd';
}
function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicker', $pickdate = true, $picktime = true, $minfrom = '', $maxfrom = '', $required = false) {
// First day of the week (0 = Sunday)
- $firstDay = get_pconfig(local_user(), 'system', 'first_day_of_week');
+ $firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week');
if ($firstDay === false) {
$firstDay=0;
}