Project

General

Profile

Bug #2045 ยป 2045.patch

krileon, 04 November 2010 19:06

View differences:

administrator/components/com_comprofiler/controller/controller.default.php
$_CB_database->query();
//createEmail($row, 'welcome', $ueConfig,null,1);
}
$_PLUGINS->trigger('onAfterUserApproval',array($row,$approved,true));
if ($row->approved == 0 && $approved == 1 && $row->confirmed == 1 ) {
$row->approved = 1;
activateUser($row, 2, "UserApproval", false);
}
}
}
$_PLUGINS->trigger('onAfterUserApproval',array($row,$approved,true));
break;
case 'block':
    (1-1/1)