get rid of get_app()

This commit is contained in:
zotlabs
2017-03-28 16:02:47 -07:00
parent d12b360e92
commit c5828fecc1
7 changed files with 3 additions and 30 deletions

View File

@@ -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);