Bläddra i källkod

Update module.php

The port column wasn't being added to the database due to the version not being updated in the last commit.

Maybe this will also fix @rocco27's issue? If he can check what his table structure is already like.
Adjokip 9 år sedan
förälder
incheckning
987b616668
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      modules/TS3Admin/module.php

+ 2 - 2
modules/TS3Admin/module.php

@@ -25,7 +25,7 @@
 // Module general information
 $module_title = "TS3Admin";
 $module_version = "0.2";
-$db_version = 1;
+$db_version = 2;
 $module_required = TRUE;
 $module_menus = array( array( 'subpage' => '', 'name'=>'ts3admin', 'group'=>'user' ) );
 $install_queries = array();
@@ -46,4 +46,4 @@ $install_queries[1] = array(
 $install_queries[2] = array(
 "ALTER TABLE `".OGP_DB_PREFIX."ts3_homes` ADD `port` int(11) DEFAULT '10011'"
 );
-?>
+?>