Skip to content
Browse files

Fixed calls to set_user_sesskey().

  • Loading branch information...
1 parent 8ae3ede commit 085c7c40e8933b85729969c7740ec3f1e81e02fb martinlanghoff committed May 7, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/delete.php
View
4 admin/delete.php
@@ -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;
}

0 comments on commit 085c7c4

Please sign in to comment.
Something went wrong with that request. Please try again.