equal
deleted
inserted
replaced
393 |
393 |
394 /** |
394 /** |
395 * Generates a confirmation form if a CSRF check fails. Will terminate execution. |
395 * Generates a confirmation form if a CSRF check fails. Will terminate execution. |
396 */ |
396 */ |
397 |
397 |
398 function csrf_confirm_form() |
398 function csrf_request_confirm() |
399 { |
399 { |
400 global $db, $session, $paths, $template, $plugins; // Common objects |
400 global $db, $session, $paths, $template, $plugins; // Common objects |
401 global $lang; |
401 global $lang; |
402 |
402 |
403 // If the token was overridden with the correct one, the user confirmed the action using this form. Continue exec. |
403 // If the token was overridden with the correct one, the user confirmed the action using this form. Continue exec. |
4423 |
4423 |
4424 /** |
4424 /** |
4425 * Caches the computed user rank information. |
4425 * Caches the computed user rank information. |
4426 */ |
4426 */ |
4427 |
4427 |
4428 function generate_ranks_cache() |
4428 function generate_cache_userranks() |
4429 { |
4429 { |
4430 global $db, $session, $paths, $template, $plugins; // Common objects |
4430 global $db, $session, $paths, $template, $plugins; // Common objects |
4431 global $lang; |
4431 global $lang; |
4432 global $user_ranks; |
4432 global $user_ranks; |
4433 |
4433 |