Sfoglia il codice sorgente

Fixed prePersist/preUpdate typo ref #1526

Christian Morgan 12 anni fa
parent
commit
127385e0a9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
 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