PluginProbe
avalex – Automatisch sichere Rechtstexte / trunk
avalex – Automatisch sichere Rechtstexte vtrunk
trunk 1.5.6 1.5.7 1.5.8 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 3.1.4
avalex / uninstall.php

uninstall.php in avalex – Automatisch sichere Rechtstexte trunk, at uninstall.php

16 lines 321 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 } // Exit if accessed directly
6
7 global $wpdb;
8 global $wp_version;
9
10 $tableName = $wpdb->prefix . 'avalex';
11
12 if( $this->wp_version < 6.2 ) {
13 $wpdb->query( "DROP TABLE IF EXISTS $tableName" );
14 } else {
15 $wpdb->query( $wpdb->prepare( "DROP TABLE IF EXISTS %i", $tableName ) );
16 }