X-Git-Url: http://git.datanom.net/omvzfs.git/blobdiff_plain/42856e8b3cb0b621218f11d7828a51d03d77ae33..6680b28e2283e0467f891b14b902dc919a7d9740:/src/Zpool.php diff --git a/src/Zpool.php b/src/Zpool.php index c8d4ae9..41fd052 100644 --- a/src/Zpool.php +++ b/src/Zpool.php @@ -16,8 +16,7 @@ require_once("Exception.php"); * @version 0.1 * @copyright Michael Rasmussen */ -class OMVModuleZFSZpool extends OMVModuleAbstract - implements OMVINotifyListener { +class OMVModuleZFSZpool extends OMVModuleAbstract { // Attributes /** * Name of pool @@ -525,70 +524,6 @@ class OMVModuleZFSZpool extends OMVModuleAbstract throw new OMVModuleZFSException($output); } - public function bindListeners(OMVNotifyDispatcher $dispatcher) { - // Update service if configuration has been modified - $dispatcher->addListener( - OMV_NOTIFY_MODIFY, - "org.openmediavault.services.nfs", - array($this, "onUpdateNFSService")); - $dispatcher->addListener( - OMV_NOTIFY_CREATE, - "org.openmediavault.services.nfs.shares.share", - array($this, "onCreateNFSShare")); - $dispatcher->addListener( - OMV_NOTIFY_DELETE, - "org.openmediavault.services.nfs.shares.share", - array($this, "onDeleteNFSShare")); - $dispatcher->addListener( - OMV_NOTIFY_MODIFY, - "org.openmediavault.services.nfs.shares.share", - array($this, "onUpdateNFSShare")); - } - - /** - * XXX - * org.openmediavault.services.nfs - * - * @param string event - * @access public - */ - public function onUpdateNFSService($args) { - $this->debug(sprintf("onUpdateNFSService args=%s", var_export($args, true))); - } - - /** - * XXX - * org.openmediavault.services.nfs.shares.share - * - * @param string event - * @access public - */ - public function onCreateNFSShare($args) { - $this->debug(sprintf("onCreateNFSShare args=%s", var_export($args, true))); - } - - /** - * XXX - * org.openmediavault.services.nfs.shares.share - * - * @param string event - * @access public - */ - public function onDeleteNFSShare($args) { - $this->debug(sprintf("onDeleteNFSShare args=%s", var_export($args, true))); - } - - /** - * XXX - * org.openmediavault.services.nfs.shares.share - * - * @param string event - * @access public - */ - public function onUpdateNFSShare($args) { - $this->debug(sprintf("onUpdateNFSShare args=%s", var_export($args, true))); - } - /** * Get a single property value associated with the Dataset * @@ -911,5 +846,4 @@ class OMVModuleZFSZpool extends OMVModuleAbstract } } - ?>