mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-01 17:29:21 -04:00
Remove unneeded code.
This commit is contained in:
@@ -19,18 +19,12 @@
|
||||
*/
|
||||
class image_block_installer {
|
||||
static function install() {
|
||||
$db = Database::instance();
|
||||
$version = module::get_version("image_block");
|
||||
if ($version == 0) {
|
||||
$db = Database::instance();
|
||||
|
||||
if (module::get_version("image_block") == 0) {
|
||||
module::set_version("image_block", 1);
|
||||
}
|
||||
}
|
||||
|
||||
static function uninstall() {
|
||||
$db = Database::instance();
|
||||
|
||||
module::delete("image_block");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user