| @@ -292,22 +292,6 @@ | ||
| 292 | 292 | } |
| 293 | 293 | do_action('ws_plugin__s2member_after_uninstall', get_defined_vars()); |
| 294 | 294 | } |
| 295 | 295 | |
| 296 | - /** | |
| 297 | - * Disallow automatic updates of s2Member w/ Pro is installed. | |
| 298 | - * | |
| 299 | - * @package s2Member\Installation | |
| 300 | - * @since 150717 | |
| 301 | - * | |
| 302 | - * @attaches-to `auto_update_plugin` filter. | |
| 303 | - */ | |
| 304 | - public static function auto_update_filter($update = NULL, $item = NULL) | |
| 305 | - { | |
| 306 | - if(is_object($item) && !empty($item->slug) && $item->slug === 's2member') | |
| 307 | - if(c_ws_plugin__s2member_utils_conds::pro_is_installed()) | |
| 308 | - $update = FALSE; // Disallow. | |
| 309 | - | |
| 310 | - return $update; // Filter through. | |
| 311 | - } | |
| 312 | 296 | } |
| 313 | 297 | } |