# redirection/5.6.0/database/schema/232.php

Redirection, version 5.6.0. 23 lines.

- Page: https://pluginprobe.com/plugins/redirection/5.6.0/code/database/schema/232.php
- Raw: https://pluginprobe.com/plugins/redirection/5.6.0/raw/database/schema/232.php
- Modified: 2026-01-01T14:34:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/redirection/5.6.0/code/database/schema/232.php#L10-L20`.

```php
<?php

// Note: not localised as the messages aren't important enough
class Red_Database_232 extends Red_Database_Upgrader {
	/**
	 * @return array<string, string>
	 */
	public function get_stages() {
		return [
			'remove_modules_232' => 'Remove module table',
		];
	}

	/**
	 * @param \wpdb $wpdb
	 * @return bool
	 */
	protected function remove_modules_232( $wpdb ) {
		$this->do_query( $wpdb, "DROP TABLE IF EXISTS {$wpdb->prefix}redirection_modules" );
		return true;
	}
}

```
