diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2014-12-02 10:24:53 -0800 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2014-12-02 10:24:53 -0800 |
commit | 1e3e775f57f9140fc2281fb1fe02ae39d3a97fc3 (patch) | |
tree | 58b91a563095b2f6a86e94d7d9ce268709719e48 /modules/user | |
parent | a6c50f0526eac3cee71f48059e5ed569dac8a055 (diff) | |
download | brdo-1e3e775f57f9140fc2281fb1fe02ae39d3a97fc3.tar.gz brdo-1e3e775f57f9140fc2281fb1fe02ae39d3a97fc3.tar.bz2 |
Issue #2377879 by er.pushpinderrana, yakoub: hook_user_view documentation has incorrect piece
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.api.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/user/user.api.php b/modules/user/user.api.php index e88c7a974..edc61bd3c 100644 --- a/modules/user/user.api.php +++ b/modules/user/user.api.php @@ -327,14 +327,6 @@ function hook_user_logout($account) { * The module should format its custom additions for display and add them to the * $account->content array. * - * Note that when this hook is invoked, the changes have not yet been written to - * the database, because a database transaction is still in progress. The - * transaction is not finalized until the save operation is entirely completed - * and user_save() goes out of scope. You should not rely on data in the - * database at this time as it is not updated yet. You should also note that any - * write/update database queries executed from this hook are also not committed - * immediately. Check user_save() and db_transaction() for more info. - * * @param $account * The user object on which the operation is being performed. * @param $view_mode |