equal
deleted
inserted
replaced
26 |
26 |
27 /* |
27 /* |
28 * Validates an IPv4 IP. |
28 * Validates an IPv4 IP. |
29 * returns true if valid. |
29 * returns true if valid. |
30 */ |
30 */ |
31 function validate_input($zoneid, $type, &$content, &$name, &$prio, &$ttl) |
31 function validate_input($recordid, $zoneid, $type, &$content, &$name, &$prio, &$ttl) |
32 { |
32 { |
33 global $db; |
33 global $db; |
34 |
34 |
35 // Has to validate content first then it can do the rest |
35 // Has to validate content first then it can do the rest |
36 // Since if content is invalid already it can aswell be just removed |
36 // Since if content is invalid already it can aswell be just removed |