$o .= status_editor($a, $x);
- if (!Config::get('theme', 'hide_eventlist')) {
+ if (!DI::config()->get('theme', 'hide_eventlist')) {
$o .= Profile::getBirthdays();
$o .= Profile::getEventsReminderHTML();
}
}
}
- if (!$gid && !$cid && !$update && !Config::get('theme', 'hide_eventlist')) {
+ if (!$gid && !$cid && !$update && !DI::config()->get('theme', 'hide_eventlist')) {
$o .= Profile::getBirthdays();
$o .= Profile::getEventsReminderHTML();
}
} else {
// Load all unseen items
$sql_extra4 = "`item`.`unseen`";
- if (Config::get("system", "like_no_comment")) {
+ if (DI::config()->get("system", "like_no_comment")) {
$sql_extra4 .= " AND `item`.`gravity` IN (" . GRAVITY_PARENT . "," . GRAVITY_COMMENT . ")";
}
if ($order === 'post') {