remove extend in action disable

This commit is contained in:
qronald
2017-02-14 15:49:14 -04:00
parent d8f160cfa0
commit a9a1bd149e
2 changed files with 25 additions and 0 deletions

View File

@@ -360,6 +360,17 @@ class PMPlugin
$oPluginRegistry->registerExtendsRestService($this->sNamespace, $className);
}
/**
* Register a extend rest service and expose it
*
* @param string $className that is name class to extends
*/
function disableExtendsRestService($className)
{
$oPluginRegistry =& PMPluginRegistry::getSingleton();
$oPluginRegistry->disableExtendsRestService($this->sNamespace, $className);
}
/**
* Unregister a rest service
*