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

Commit

Permalink
Remove Unneeded code since we use class name to check if plugin is ac…
Browse files Browse the repository at this point in the history
…tivated or not
  • Loading branch information
ahmedofali committed Apr 29, 2018
1 parent 7772cff commit be1417a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Hyyan/WPI/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,6 @@ public static function canActivate()
($woocommerce && Utilities::woocommerceVersionCheck(self::WOOCOMMERCE_VERSION));
}

/**
* Check if Mu-plugin
*
* @param string $plugin
* @return boolean
*/
public static function isMuPlugin($plugin)
{
return file_exists( trailingslashit( WPMU_PLUGIN_DIR ) . $plugin ) ;
}

/**
* On Upgrade
*
Expand Down

0 comments on commit be1417a

Please sign in to comment.