Bug fixes
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
|
||||
class RippingCluster_Worker_PluginFactory extends RippingCluster_PluginFactory {
|
||||
|
||||
const PLUGIN_DIR = 'Net/Gearman/Job/';
|
||||
const PLUGIN_PREFIX = 'Net_Gearman_Job_';
|
||||
const PLUGIN_INTERFACE = 'RippingCluster_Worker_IPlugin';
|
||||
protected static $plugin_dir = 'Net/Gearman/Job/';
|
||||
protected static $plugin_prefix = 'Net_Gearman_Job_';
|
||||
protected static $plugin_interface = 'RippingCluster_Worker_IPlugin';
|
||||
|
||||
public static function init() {
|
||||
|
||||
}
|
||||
|
||||
public static function scan() {
|
||||
/* public static function scan() {
|
||||
$candidatePlugins = parent::findPlugins(self::PLUGIN_DIR);
|
||||
|
||||
parent::loadPlugins($candidatePlugins, self::PLUGIN_PREFIX, self::PLUGIN_INTERFACE);
|
||||
}
|
||||
}*/
|
||||
|
||||
public static function getPluginWorkerFunctions($plugin) {
|
||||
if ( ! self::isValidPlugin($plugin)) {
|
||||
@@ -25,4 +25,4 @@ class RippingCluster_Worker_PluginFactory extends RippingCluster_PluginFactory {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user