PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/component/class-quarantine.php +2 -4 6.1.0 → 6.3.0 View file →
@@ -842,12 +842,10 @@
842 842 * Actions to accomplish before plugin uninstallation.
843 843 * If Remove settings chosen then directly remove data i.e. without archiving the quarantined file and table data.
844 844 */
845 845 public function on_uninstall(): void {
846 - $method_name = 'data_' . $this->main_setting->uninstall_quarantine;
847 -
848 - if ( method_exists( $this, $method_name ) ) {
849 - $this->$method_name();
846 + if ( 'remove' === $this->main_setting->uninstall_quarantine ) {
847 + $this->data_remove();
850 848 }
851 849 }
852 850
853 851 /**