1 <? |
1 <? |
2 |
2 |
3 |
3 /* PowerAdmin, a friendly web-based admin tool for PowerDNS. |
4 // Filename: record.inc.php |
4 * See <https://rejo.zenger.nl/poweradmin> for more details. |
5 // Startdate: 26-10-2002 |
5 * |
6 // This file is ought to edit the records in the database. |
6 * Copyright 2007, 2008 Rejo Zenger <rejo@zenger.nl> |
7 // Records are domains aswell, they also belong here. |
7 * |
8 // All database functions are associative. |
8 * This program is free software: you can redistribute it and/or modify |
9 // use nextID first to get a new id. Then insert it into the database. |
9 * it under the terms of the GNU General Public License as published by |
10 // do not rely on auto_increment (see above). |
10 * the Free Software Foundation, either version 3 of the License, or |
11 // use dns.inc.php for validation functions. |
11 * (at your option) any later version. |
12 // |
12 * |
13 // $Id: record.inc.php,v 1.21 2003/05/10 20:21:01 azurazu Exp $ |
13 * This program is distributed in the hope that it will be useful, |
14 // |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 * GNU General Public License for more details. |
|
17 * |
|
18 * You should have received a copy of the GNU General Public License |
|
19 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
20 */ |
16 |
21 |
17 function update_soa_serial($domain_id) |
22 function update_soa_serial($domain_id) |
18 { |
23 { |
19 global $db; |
24 global $db; |
20 /* |
25 /* |