use correct error code
This commit is contained in:
parent
a16be91822
commit
6f6b9e0599
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ class CRM_Twingle_Profile {
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
throw new ProfileException(
|
throw new ProfileException(
|
||||||
E::ts("Could not delete profile: %1", [1 => $e->getMessage()]),
|
E::ts("Could not delete profile: %1", [1 => $e->getMessage()]),
|
||||||
ProfileException::ERROR_CODE_COULD_NOT_RESET_PROFILE
|
ProfileException::ERROR_CODE_COULD_NOT_DELETE_PROFILE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue