1 |
4
|
ryan
|
<?php
|
2 |
1377
|
FrankH
|
/**
|
3 |
|
|
*
|
4 |
|
|
* @category modules
|
5 |
|
|
* @package Menu Link
|
6 |
|
|
* @author WebsiteBaker Project
|
7 |
|
|
* @copyright 2004-2009, Ryan Djurovich
|
8 |
|
|
* @copyright 2009-2011, Website Baker Org. e.V.
|
9 |
|
|
* @link http://www.websitebaker2.org/
|
10 |
|
|
* @license http://www.gnu.org/licenses/gpl.html
|
11 |
|
|
* @platform WebsiteBaker 2.8.x
|
12 |
|
|
* @requirements PHP 5.2.2 and higher
|
13 |
|
|
* @version $Id$
|
14 |
|
|
* @filesource $HeadURL: http://svn.websitebaker2.org/branches/2.8.x/wb/modules/wysiwyg/modify.php $
|
15 |
|
|
* @lastmodified $Date: 2011-01-11 20:29:52 +0100 (Di, 11 Jan 2011) $
|
16 |
|
|
*
|
17 |
|
|
*/
|
18 |
4
|
ryan
|
|
19 |
543
|
thorn
|
// prevent this file from being accesses directly
|
20 |
|
|
if(defined('WB_PATH') == false) {
|
21 |
|
|
exit("Cannot access this file directly");
|
22 |
|
|
}
|
23 |
4
|
ryan
|
|
24 |
543
|
thorn
|
$table = TABLE_PREFIX ."mod_menu_link";
|
25 |
|
|
$database->query("DELETE FROM `$table` WHERE section_id = '$section_id'");
|
26 |
|
|
|
27 |
4
|
ryan
|
?>
|