diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-09 20:07:09 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-09 20:07:09 -0400 |
commit | 7a242f829fac2b434726c2bbdca5dbf658404c76 (patch) | |
tree | 5b7b4d086dccac5017fcb31211a27d689cb8e21f /Zotlabs/Module | |
parent | 9410b63bbc819955964706c876bc2f7ecea10adf (diff) | |
parent | ee5372784e129ed7a162c7433f56fa3a1e877a67 (diff) | |
download | volse-hubzilla-7a242f829fac2b434726c2bbdca5dbf658404c76.tar.gz volse-hubzilla-7a242f829fac2b434726c2bbdca5dbf658404c76.tar.bz2 volse-hubzilla-7a242f829fac2b434726c2bbdca5dbf658404c76.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Rmagic.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Rmagic.php b/Zotlabs/Module/Rmagic.php index bcdbf6c90..26b0c46a6 100644 --- a/Zotlabs/Module/Rmagic.php +++ b/Zotlabs/Module/Rmagic.php @@ -24,7 +24,7 @@ class Rmagic extends \Zotlabs\Web\Controller { } } - function post() { + function post() { $address = trim($_REQUEST['address']); @@ -34,13 +34,13 @@ class Rmagic extends \Zotlabs\Web\Controller { try { require_once('library/openid/openid.php'); - $openid = new LightOpenID(z_root()); + $openid = new \LightOpenID(z_root()); $openid->identity = $address; $openid->returnUrl = z_root() . '/openid'; $openid->required = array('namePerson/friendly', 'namePerson'); $openid->optional = array('namePerson/first','media/image/aspect11','media/image/default'); goaway($openid->authUrl()); - } catch (Exception $e) { + } catch (\Exception $e) { notice( t('We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID.').'<br /><br >'. t('The error message was:').' '.$e->getMessage()); } @@ -82,7 +82,7 @@ class Rmagic extends \Zotlabs\Web\Controller { } - function get() { + function get() { $o = replace_macros(get_markup_template('rmagic.tpl'),array( '$title' => t('Remote Authentication'), |