forked from GNUsocial/gnu-social
Catch exception on delete of Confirm_address in a plugin
This commit is contained in:
parent
175b7e8541
commit
a262c16f06
@ -321,7 +321,11 @@ class EmailregisterAction extends Action
|
|||||||
common_init_language();
|
common_init_language();
|
||||||
|
|
||||||
if (!empty($this->confirmation)) {
|
if (!empty($this->confirmation)) {
|
||||||
$this->confirmation->delete();
|
try {
|
||||||
|
$this->confirmation->delete();
|
||||||
|
} catch (ServerException $e) {
|
||||||
|
common_log(LOG_ERR, $e->getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Event::handle('EndRegistrationTry', array($this));
|
Event::handle('EndRegistrationTry', array($this));
|
||||||
|
Loading…
Reference in New Issue
Block a user