@@ -60,10 +60,10 @@ |
||
| 60 | 60 | //If the user is null, then treat it as anonymous user. |
| 61 | 61 | //When the anonymous user is passed as user then use this path too. |
| 62 | 62 | if ($user === null || $user->getID() === User::ID_ANONYMOUS) { |
| 63 | - return 'user$_' . User::ID_ANONYMOUS; |
|
| 63 | + return 'user$_'.User::ID_ANONYMOUS; |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | //In the most cases we can just use the username (its unique) |
| 67 | - return "user_" . $user->getUsername() . '_' . $locale; |
|
| 67 | + return "user_".$user->getUsername().'_'.$locale; |
|
| 68 | 68 | } |
| 69 | 69 | } |
| 70 | 70 | \ No newline at end of file |