projects
/
acontent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix the bug that once the a content is deleted from the lesson via "delete content...
[acontent.git]
/
docs
/
home
/
editor
/
delete_content.php
diff --git
a/docs/home/editor/delete_content.php
b/docs/home/editor/delete_content.php
index
fbeb899
..
170db2d
100644
(file)
--- a/
docs/home/editor/delete_content.php
+++ b/
docs/home/editor/delete_content.php
@@
-25,9
+25,6
@@
if (isset($_POST['submit_yes'])) {
$result = $contentManager->deleteContent($cid);
- unset($_SESSION['s_cid']);
- unset($_SESSION['from_cid']);
-
$msg->addFeedback('CONTENT_DELETED');
header('Location: '.TR_BASE_HREF.'home/course/index.php?_course_id='.$_course_id);
exit;