Revision 543
Added by thorn almost 17 years ago
delete.php | ||
---|---|---|
23 | 23 |
|
24 | 24 |
*/ |
25 | 25 |
|
26 |
// Nothing special has to be deleted |
|
26 |
// prevent this file from being accesses directly |
|
27 |
if(defined('WB_PATH') == false) { |
|
28 |
exit("Cannot access this file directly"); |
|
29 |
} |
|
27 | 30 |
|
31 |
$table = TABLE_PREFIX ."mod_menu_link"; |
|
32 |
$database->query("DELETE FROM `$table` WHERE section_id = '$section_id'"); |
|
33 |
|
|
28 | 34 |
?> |
Also available in: Unified diff
module menu_link: fixed page-deleteing-bug and some odd behavior, added table mod_menu_link