removed set_extension_version; everyone was using config anyway ;3

git-svn-id: file:///home/shish/svn/shimmie2/trunk@275 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-15 17:17:59 +00:00
parent b010709e2d
commit 9861e13f8e

View file

@ -67,15 +67,6 @@ class Database {
return $result;
}
// }}}
// extensions {{{
public function set_extension_version($name, $version) {
$this->extensions[$name] = $version;
$this->db->GetRow("INSERT INTO extensions(name, version) VALUES (?, ?)", array($name, $version));
}
public function get_extension_version($name) {
return (isset($this->extensions[$name]) ? $this->extensions[$name] : -1);
}
// }}}
// tags {{{
public function resolve_alias($tag) {
$newtag = $this->db->GetOne("SELECT newtag FROM aliases WHERE oldtag=?", array($tag));