Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

Commit be1417a

Browse files
committed
Remove Unneeded code since we use class name to check if plugin is activated or not
1 parent 7772cff commit be1417a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Hyyan/WPI/Plugin.php

-11
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,6 @@ public static function canActivate()
127127
($woocommerce && Utilities::woocommerceVersionCheck(self::WOOCOMMERCE_VERSION));
128128
}
129129

130-
/**
131-
* Check if Mu-plugin
132-
*
133-
* @param string $plugin
134-
* @return boolean
135-
*/
136-
public static function isMuPlugin($plugin)
137-
{
138-
return file_exists( trailingslashit( WPMU_PLUGIN_DIR ) . $plugin ) ;
139-
}
140-
141130
/**
142131
* On Upgrade
143132
*

0 commit comments

Comments
 (0)