aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-09 11:51:31 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-09 11:51:31 -0800
commit200eabe0523ec89085c7546bed1c624bd66dcd24 (patch)
treeb573be4057d2d32254aad7354a921a3c9734b7ef /Zotlabs/Zot
parent0f4ceedbb492126dcbbbcd77b5252816097d2857 (diff)
downloadvolse-hubzilla-200eabe0523ec89085c7546bed1c624bd66dcd24.tar.gz
volse-hubzilla-200eabe0523ec89085c7546bed1c624bd66dcd24.tar.bz2
volse-hubzilla-200eabe0523ec89085c7546bed1c624bd66dcd24.zip
add empty arg
Diffstat (limited to 'Zotlabs/Zot')
-rw-r--r--Zotlabs/Zot/Auth.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Zot/Auth.php b/Zotlabs/Zot/Auth.php
index d0374ad7e..715676979 100644
--- a/Zotlabs/Zot/Auth.php
+++ b/Zotlabs/Zot/Auth.php
@@ -57,7 +57,7 @@ class Auth {
if(strstr($this->desturl,z_root() . '/rmagic'))
goaway(z_root());
- $this->reply_die();
+ $this->reply_die('');
}
@@ -259,7 +259,7 @@ class Auth {
}
- function reply_die($msg,$goaway = true) {
+ function reply_die($msg) {
if($msg) {
if(array_key_exists('message',$this->ret))
$this->ret['message'] .= $msg;
@@ -268,8 +268,8 @@ class Auth {
}
if($this->test)
json_return_and_die($this->ret);
- if($goaway)
- goaway($this->desturl);
+
+ goaway($this->desturl);
}
}