Manual:Hooks/LocalUserCreated/cs

Podrobnosti

 * $user - Objekt uživatele pro vytvořeného uživatele
 * $autocreated - Boolean, jestli to bylo automatické vytvoření. Všimněte si, že pokud vaše wiki používá CentralAuth, bude to vždy true.

Poznámky
Added in as part of the upcoming  system. Nahrazuje volání metody a háčky  a.

Extensions which implement their own authentication provider might want to use  and   instead, which are similar but have access to more information. (Note that  is called significantly later in the process, after secondary authentication providers have finished.)

Changes which are not immediately required for database consistency should probably be deferred; see.

''' If is active, this hook is also called when a  is automatically created for a logged-out user. '''

