aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-28 16:02:47 -0700
committerzotlabs <mike@macgirvin.com>2017-03-28 16:02:47 -0700
commitc5828fecc1fadb4db705bbf94edfa7ff873b491a (patch)
treeec4048698d2c263189fc9044d0a63d004417305a /Zotlabs
parentd12b360e926c5df8da1639a5935fcd3e9236e4e3 (diff)
downloadvolse-hubzilla-c5828fecc1fadb4db705bbf94edfa7ff873b491a.tar.gz
volse-hubzilla-c5828fecc1fadb4db705bbf94edfa7ff873b491a.tar.bz2
volse-hubzilla-c5828fecc1fadb4db705bbf94edfa7ff873b491a.zip
get rid of get_app()
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Setup.php2
-rw-r--r--Zotlabs/Storage/Browser.php5
2 files changed, 3 insertions, 4 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index e114dfc0b..d6d7eeb05 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -617,7 +617,6 @@ class Setup extends \Zotlabs\Web\Controller {
* @param[out] array &$checks
*/
function check_htaccess(&$checks) {
- $a = get_app();
$status = true;
$help = '';
$ssl_error = false;
@@ -711,7 +710,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);