瀏覽代碼

Fixed prePersist/preUpdate typo ref #1526

Christian Morgan 12 年之前
父節點
當前提交
127385e0a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/reference/saving_hooks.rst

+ 1 - 1
Resources/doc/reference/saving_hooks.rst

@@ -35,7 +35,7 @@ https://github.com/FriendsOfSymfony/FOSUserBundle/ for more information.
 
 
 The user management system requires to perform specific call when the user
 The user management system requires to perform specific call when the user
 password or username are updated. This is how the Admin bundle can be used to
 password or username are updated. This is how the Admin bundle can be used to
-solve the issue by using the ``prePersist`` saving hook.
+solve the issue by using the ``preUpdate`` saving hook.
 
 
 .. code-block:: php
 .. code-block:: php