From 200eabe0523ec89085c7546bed1c624bd66dcd24 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 9 Dec 2015 11:51:31 -0800 Subject: add empty arg --- Zotlabs/Zot/Auth.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Zotlabs/Zot') 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); } } -- cgit v1.2.3