1
1
Fork 0

Update functions and calls

Update function names and scope. update calls.
This commit is contained in:
Adam Magness 2018-01-15 14:51:56 -05:00
commit 0f546f7f0f
20 changed files with 122 additions and 97 deletions

View file

@ -7,6 +7,7 @@
*/
use Friendica\App;
use Friendica\Content\Feature;
use Friendica\Content\Nav;
use Friendica\Core\Config;
use Friendica\Core\System;
use Friendica\Database\DBM;
@ -27,7 +28,7 @@ function cal_init(App $a)
return;
}
nav_set_selected('events');
Nav::setSelected('events');
if ($a->argc > 1) {
$nick = $a->argv[1];
@ -74,7 +75,7 @@ function cal_init(App $a)
function cal_content(App $a)
{
nav_set_selected('events');
Nav::setSelected('events');
// get the translation strings for the callendar
$i18n = get_event_strings();