aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/AppInfo/Application.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-27 08:54:34 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-27 10:21:26 +0200
commit681eebcfe613157e05919a3223fcd0bbbe324638 (patch)
tree654be10c0d4313b49520254e79d65602de466b38 /apps/workflowengine/lib/AppInfo/Application.php
parent7588f648a14bd6ec3c2573ede5327b0277ecccf0 (diff)
downloadnextcloud-server-681eebcfe613157e05919a3223fcd0bbbe324638.tar.gz
nextcloud-server-681eebcfe613157e05919a3223fcd0bbbe324638.zip
Remove php side of check registration
Diffstat (limited to 'apps/workflowengine/lib/AppInfo/Application.php')
-rw-r--r--apps/workflowengine/lib/AppInfo/Application.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/workflowengine/lib/AppInfo/Application.php b/apps/workflowengine/lib/AppInfo/Application.php
index c196ecd955c..84339503047 100644
--- a/apps/workflowengine/lib/AppInfo/Application.php
+++ b/apps/workflowengine/lib/AppInfo/Application.php
@@ -38,18 +38,6 @@ class Application extends \OCP\AppFramework\App {
public function registerHooksAndListeners() {
$dispatcher = $this->getContainer()->getServer()->getEventDispatcher();
$dispatcher->addListener(
- 'OCP\WorkflowEngine\RegisterCheckEvent',
- function(RegisterCheckEvent $event) {
- $event->addCheck(
- 'OCA\WorkflowEngine\Check\UserGroupMembership',
- 'User group membership',
- ['is', '!is']
- );
- },
- -100
- );
-
- $dispatcher->addListener(
'OCP\WorkflowEngine::loadAdditionalSettingScripts',
function() {
Util::addStyle('workflowengine', 'admin');