Example #1
0
 /**
  * This function is a static wrapper around can_upgrade.
  *
  * @param string $type The plugin type
  * @param int $version The plugin version
  * @return bool
  */
 public static function can_upgrade_setaskment($type, $version)
 {
     $setaskment = new setask(null, null, null);
     return $setaskment->can_upgrade($type, $version);
 }