Skip to content

Commit

Permalink
Merged from MOODLE_14_STABLE - Fixed calls to set_user_sesskey().
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlanghoff committed May 7, 2005
1 parent d719609 commit b27f46f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/delete.php
Expand Up @@ -17,12 +17,12 @@
$deletedir = $CFG->dataroot; // The directory to delete!

if (empty($sure)) {
notice_yesno ('Are you completely sure you want to delete everything inside the directory '. $deletedir .' ?', 'delete.php?sure=yes&sesskey='.sesskey(), 'index.php');
notice_yesno ('Are you completely sure you want to delete everything inside the directory '. $deletedir .' ?', 'delete.php?sure=yes&sesskey='.set_user_sesskey(), 'index.php');
exit;
}

if (empty($reallysure)) {
notice_yesno ('Are you REALLY REALLY completely sure you want to delete everything inside the directory '. $deletedir .' (this includes all user images, and any other course files that have been created) ?', 'delete.php?sure=yes&reallysure=yes&sesskey='.sesskey(), 'index.php');
notice_yesno ('Are you REALLY REALLY completely sure you want to delete everything inside the directory '. $deletedir .' (this includes all user images, and any other course files that have been created) ?', 'delete.php?sure=yes&reallysure=yes&sesskey='.set_user_sesskey(), 'index.php');
exit;
}

Expand Down

0 comments on commit b27f46f

Please sign in to comment.