Skip to content

Commit dcae209

Browse files
committed
v1.5 release
1 parent addf8b7 commit dcae209

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,8 @@ public static function getUserRegister($params = array()){
572572
// Check for an error.
573573
if ($return !== true)
574574
{
575-
$app->setError(JText::_('MOD_REGISTERLOGIN_REGISTRATION_ACTIVATION_NOTIFY_SEND_MAIL_FAILED'));
576-
575+
//$app->setError(JText::_('MOD_REGISTERLOGIN_REGISTRATION_ACTIVATION_NOTIFY_SEND_MAIL_FAILED'));
576+
JError::raiseError( 4711, JText::_('MOD_REGISTERLOGIN_REGISTRATION_ACTIVATION_NOTIFY_SEND_MAIL_FAILED') );
577577
return false;
578578
}
579579
}

mod_registerlogin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
method="upgrade">
77
<name>Register Login</name>
88
<author>JoomDev</author>
9-
<creationDate>Feb 27, 2019</creationDate>
9+
<creationDate>April 3, 2018</creationDate>
1010
<copyright>All rights reserved.</copyright>
1111
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
1212
<authorEmail>info@joomdev.com</authorEmail>
1313
<authorUrl>www.joomDev.com</authorUrl>
14-
<version>1.4</version>
14+
<version>1.5</version>
1515
<description>
1616
<![CDATA[<div style="font-size:16px; font-weight:bold; color:black; text-align:left; margin:0px; padding:0px 5px;"><h3>Register Login By JoomDev</h3></div>
1717
<div style="font-weight:normal; border-bottom:1px solid #f0dc7e;display:block; padding-bottom:5px; margin:5px; background-color:#fff;"></div>

tmpl/default_logout.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
* @copyright Copyright (C) 2009 - 2016 www.joomdev.com. All rights reserved.
88
* @license GNU GPL2 or later; see LICENSE.txt
99
*/
10-
1110
defined('_JEXEC') or die;
1211

1312
JHtml::_('behavior.keepalive');
1413
if($params->get('logout')){
15-
$afterlogout_ = JURI::Root().$return;
14+
$afterlogout_ = JRoute::_(JUri::getInstance()->toString());
1615
}else{
1716
$afterlogout_ = JRoute::_(JURI::root());
1817
}

0 commit comments

Comments
 (0)