Browse files

Extensions didn't get removed correctly, fixed

  • Loading branch information...
1 parent d3e6edb commit 5ee367dff1916957e217cf24dff0a51cc17a84ed @riemers committed Apr 19, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 walkserver.php
View
2 walkserver.php
@@ -331,6 +331,8 @@ function walker_errorhandler( $errno, $errstr, $errfile, $errline ) {
mysql_query( "DELETE FROM `mods` WHERE ( select count( * ) from srv_mods where srv_mods.modid = mods.modid limit 1 ) = 0" );
+ mysql_query( "DELETE FROM `extensions` WHERE ( select count( * ) from srv_mods where srv_mods.extid = extensions.extid limit 1 ) = 0" );
+
} else
$output[ 'next' ] = $_SESSION[ 'servers' ][0][1];

0 comments on commit 5ee367d

Please sign in to comment.