From 387fe21f1d20b6d1c4bf2f75a508bca4affddc62 Mon Sep 17 00:00:00 2001 From: Andrey Savchenko Date: Wed, 17 Dec 2014 18:50:36 +0200 Subject: [PATCH] Commented out unconditional P2P uninstall. --- plugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin.php b/plugin.php index f0d79f9..1bdbba7 100644 --- a/plugin.php +++ b/plugin.php @@ -19,4 +19,6 @@ register_activation_hook( __FILE__, array( 'P2P_Storage', 'init' ) ); register_activation_hook( __FILE__, array( 'P2P_Storage', 'install' ) ); -register_uninstall_hook( __FILE__, array( 'P2P_Storage', 'uninstall' ) ); + +// TODO safer handling for uninstall +//register_uninstall_hook( __FILE__, array( 'P2P_Storage', 'uninstall' ) );