| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: unique_avatar.module,v 1.1 2008/01/29 18:08:51 jscheel Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* hook_user() implementation |
* @file unique_avatar.module |
| 6 |
|
* |
| 7 |
|
* Full module implementation, creates unique user picture filenames |
| 8 |
|
*/ |
| 9 |
|
|
| 10 |
|
/** |
| 11 |
|
* Implementation of hook_user() |
| 12 |
*/ |
*/ |
| 13 |
function unique_avatar_user($type, &$edit, &$user, $category = NULL) { |
function unique_avatar_user($type, &$edit, &$user, $category = NULL) { |
| 14 |
if ($type == 'submit' && $category == 'account') { |
if ($type == 'submit' && $category == 'account') { |