diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-28 16:02:47 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-31 10:30:17 +0200 |
commit | c20aa6062c38d81d19d53bad3a65f78e95b126c9 (patch) | |
tree | 352ed5b86c4167d1a64bb8c834005c94b450b456 /Zotlabs | |
parent | b2a51db14e61e3f742b4a0e11bcb22e5c6e12800 (diff) | |
download | volse-hubzilla-c20aa6062c38d81d19d53bad3a65f78e95b126c9.tar.gz volse-hubzilla-c20aa6062c38d81d19d53bad3a65f78e95b126c9.tar.bz2 volse-hubzilla-c20aa6062c38d81d19d53bad3a65f78e95b126c9.zip |
get rid of get_app()
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Setup.php | 2 | ||||
-rw-r--r-- | Zotlabs/Storage/Browser.php | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index 9c688af01..593ba643f 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -624,7 +624,6 @@ class Setup extends \Zotlabs\Web\Controller { * @param[out] array &$checks */ function check_htaccess(&$checks) { - $a = get_app(); $status = true; $help = ''; $ssl_error = false; @@ -718,7 +717,6 @@ class Setup extends \Zotlabs\Web\Controller { * @return string with parsed HTML */ function what_next() { - $a = get_app(); // install the standard theme set_config('system', 'allowed_themes', 'redbasic'); diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php index 3fdc8e9d4..c501379d8 100644 --- a/Zotlabs/Storage/Browser.php +++ b/Zotlabs/Storage/Browser.php @@ -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); |