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:
parent
b010709e2d
commit
9861e13f8e
@ -67,15 +67,6 @@ class Database {
|
|||||||
return $result;
|
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 {{{
|
// tags {{{
|
||||||
public function resolve_alias($tag) {
|
public function resolve_alias($tag) {
|
||||||
$newtag = $this->db->GetOne("SELECT newtag FROM aliases WHERE oldtag=?", array($tag));
|
$newtag = $this->db->GetOne("SELECT newtag FROM aliases WHERE oldtag=?", array($tag));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user