get rid of get_app()
This commit is contained in:
@@ -84,7 +84,6 @@ class Browser extends DAV\Browser\Plugin {
|
||||
require_once('include/conversation.php');
|
||||
require_once('include/text.php');
|
||||
if ($this->auth->owner_nick) {
|
||||
//$html = profile_tabs(get_app(), (($is_owner) ? true : false), $this->auth->owner_nick);
|
||||
$html = '';
|
||||
}
|
||||
|
||||
@@ -241,7 +240,9 @@ class Browser extends DAV\Browser\Plugin {
|
||||
'$nick' => $this->auth->getCurrentUser()
|
||||
));
|
||||
|
||||
$a = get_app();
|
||||
|
||||
$a = false;
|
||||
|
||||
\App::$page['content'] = $html;
|
||||
load_pdl($a);
|
||||
|
||||
|
Reference in New Issue
Block a user