remove old functions (which will break things if used :S)

git-svn-id: file:///home/shish/svn/shimmie2/trunk@266 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-12 08:15:34 +00:00
parent 5a4d6f7277
commit d39a45b62d

View file

@ -72,28 +72,6 @@ class Config {
$this->save($name);
}
public function set_int_from_post($name) {
if(isset($_POST[$name])) {
$this->values[$name] = $_POST[$name];
$this->save($name);
}
}
public function set_string_from_post($name) {
if(isset($_POST[$name])) {
$this->values[$name] = $_POST[$name];
$this->save($name);
}
}
public function set_bool_from_post($name) {
if(isset($_POST[$name]) && ($_POST[$name] == 'on')) {
$this->values[$name] = 'Y';
}
else {
$this->values[$name] = 'N';
}
$this->save($name);
}
public function get_int($name, $default=null) {
// deprecated -- ints should be stored as ints now
return parse_shorthand_int($this->get($name, $default));