From 20c039d94602dfbe67cdbdb7464fe443c6dbd29d Mon Sep 17 00:00:00 2001 From: haszari Date: Fri, 22 Feb 2019 12:04:22 +1300 Subject: [PATCH] removed redundant `get_plugin_slug` --- includes/admin/class-wc-admin-assets.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/includes/admin/class-wc-admin-assets.php b/includes/admin/class-wc-admin-assets.php index 7e41d7bd370..5426b5098a0 100644 --- a/includes/admin/class-wc-admin-assets.php +++ b/includes/admin/class-wc-admin-assets.php @@ -447,15 +447,6 @@ if ( ! class_exists( 'WC_Admin_Assets', false ) ) : } - /** - * Utility for getting plugin slug from file. - * - * @param string $plugin_file Plugin filename. - * @return string - */ - protected function get_plugin_slug( $plugin_file ) { - return dirname( $plugin_file ); - } } endif;